aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego <flameeyes@gentoo.org>2011-09-01 17:05:46 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-09-01 17:08:55 -0500
commitb71f3bd2fd2ba39c1018baaf2dba74ed53c82cdc (patch)
tree91390efe58185ae229ffce9b778f648d25e476a4
parentc5b14edda807d1cd28938860b159f21a0e8c6e44 (diff)
Start-stop-daemon: remove call to pam_authenticate
-rw-r--r--src/rc/start-stop-daemon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c
index da2a81af..b6316ec3 100644
--- a/src/rc/start-stop-daemon.c
+++ b/src/rc/start-stop-daemon.c
@@ -1184,8 +1184,6 @@ start_stop_daemon(int argc, char **argv)
"nobody", &conv, &pamh);
if (pamr == PAM_SUCCESS)
- pamr = pam_authenticate(pamh, PAM_SILENT);
- if (pamr == PAM_SUCCESS)
pamr = pam_acct_mgmt(pamh, PAM_SILENT);
if (pamr == PAM_SUCCESS)
pamr = pam_open_session(pamh, PAM_SILENT);