From: Todd C. Miller Date: Mon, 21 Jan 2002 22:36:33 +0000 (+0000) Subject: Mention that we can't use pam_acct_mgmt() X-Git-Tag: SUDO_1_6_6~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a61088a4343b713d06cd66bb2fba91b9596b7590;p=sudo Mention that we can't use pam_acct_mgmt() --- diff --git a/auth/pam.c b/auth/pam.c index 6ae85661a..e0050a2ad 100644 --- a/auth/pam.c +++ b/auth/pam.c @@ -181,6 +181,7 @@ pam_prep_user(pw) * it returns the last saved return code, not the return code * for the setcred module. Because we haven't called pam_authenticate(), * this is not set and so pam_setcred() returns PAM_PERM_DENIED. + * We can't call pam_acct_mgmt() with Linux-PAM for a similar reason. */ (void) pam_setcred(pamh, PAM_ESTABLISH_CRED);