Start-stop-daemon: remove call to pam_authenticate
This commit is contained in:
parent
c5b14edda8
commit
b71f3bd2fd
@ -1183,8 +1183,6 @@ start_stop_daemon(int argc, char **argv)
|
|||||||
pamr = pam_start("start-stop-daemon",
|
pamr = pam_start("start-stop-daemon",
|
||||||
"nobody", &conv, &pamh);
|
"nobody", &conv, &pamh);
|
||||||
|
|
||||||
if (pamr == PAM_SUCCESS)
|
|
||||||
pamr = pam_authenticate(pamh, PAM_SILENT);
|
|
||||||
if (pamr == PAM_SUCCESS)
|
if (pamr == PAM_SUCCESS)
|
||||||
pamr = pam_acct_mgmt(pamh, PAM_SILENT);
|
pamr = pam_acct_mgmt(pamh, PAM_SILENT);
|
||||||
if (pamr == PAM_SUCCESS)
|
if (pamr == PAM_SUCCESS)
|
||||||
|
Loading…
Reference in New Issue
Block a user