From a61088a4343b713d06cd66bb2fba91b9596b7590 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 21 Jan 2002 22:36:33 +0000 Subject: [PATCH] Mention that we can't use pam_acct_mgmt() --- auth/pam.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.40.0