]> granicus.if.org Git - sudo/commit
Don't check the return value of pam_setcred(). In Linux-PAM 0.75
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 20 Jan 2002 00:46:44 +0000 (00:46 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 20 Jan 2002 00:46:44 +0000 (00:46 +0000)
commit3a6c0ea2e67197df1ab29624d02240b7b8d79069
tree22ce77fdc0d72c719f28d6943d9cc3506d759444
parent3646887d524600053829ee1e9df411764db76944
Don't check the return value of pam_setcred().  In Linux-PAM 0.75
pam_setcred() 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.
auth/pam.c