1 |
commit: b71f3bd2fd2ba39c1018baaf2dba74ed53c82cdc |
2 |
Author: Diego <flameeyes <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 22:05:46 2011 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 22:08:55 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=b71f3bd2 |
7 |
|
8 |
Start-stop-daemon: remove call to pam_authenticate |
9 |
|
10 |
--- |
11 |
src/rc/start-stop-daemon.c | 2 -- |
12 |
1 files changed, 0 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c |
15 |
index da2a81a..b6316ec 100644 |
16 |
--- a/src/rc/start-stop-daemon.c |
17 |
+++ b/src/rc/start-stop-daemon.c |
18 |
@@ -1184,8 +1184,6 @@ start_stop_daemon(int argc, char **argv) |
19 |
"nobody", &conv, &pamh); |
20 |
|
21 |
if (pamr == PAM_SUCCESS) |
22 |
- pamr = pam_authenticate(pamh, PAM_SILENT); |
23 |
- if (pamr == PAM_SUCCESS) |
24 |
pamr = pam_acct_mgmt(pamh, PAM_SILENT); |
25 |
if (pamr == PAM_SUCCESS) |
26 |
pamr = pam_open_session(pamh, PAM_SILENT); |