]> granicus.if.org Git - sudo/commitdiff
Mention that we can't use pam_acct_mgmt()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 21 Jan 2002 22:36:33 +0000 (22:36 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 21 Jan 2002 22:36:33 +0000 (22:36 +0000)
auth/pam.c

index 6ae85661ae942382a5b07cff4d68f7ea5d177b63..e0050a2ad8b27e68384f93d2f6fa34b489d543aa 100644 (file)
@@ -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);