1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Since PAM is broken, let pam_setcred() failure be non-fatal.

This commit is contained in:
Brian Feldman 2001-05-08 22:30:18 +00:00
parent f07e0883ca
commit 00e38eaf7f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76384

View File

@ -266,7 +266,7 @@ void do_pam_setcred(void)
debug("PAM establishing creds");
pam_retval = pam_setcred(pamh, PAM_ESTABLISH_CRED);
if (pam_retval != PAM_SUCCESS) {
fatal("PAM setcred failed[%d]: %.200s",
debug("PAM setcred failed[%d]: %.200s",
pam_retval, PAM_STRERROR(pamh, pam_retval));
}
}