summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-01-06 09:47:24 +0000
committerdes <des@FreeBSD.org>2004-01-06 09:47:24 +0000
commit77da48ef10288d0fa66b5cf39c619d85bfabc975 (patch)
treef0e070a00451ee52ace5530283071a264b342e67 /lib/libc
parent7452e76589c3544aeda69ca97dfcbd139dc08c09 (diff)
downloadFreeBSD-src-77da48ef10288d0fa66b5cf39c619d85bfabc975.zip
FreeBSD-src-77da48ef10288d0fa66b5cf39c619d85bfabc975.tar.gz
When root tries to su to a non-existent user, pam_authenticate() will
normally succeed (because root can su to anyone), but pam_acct_mgmt() will most likely fail, causing su to log a confusing "pam_acct_mgmt: error in service module" message. To avoid this, call getpwnam() before pam_acct_mgmt(). Sponsored by: registrar.no
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud