diff options
author | des <des@FreeBSD.org> | 2004-01-06 09:47:24 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-01-06 09:47:24 +0000 |
commit | 77da48ef10288d0fa66b5cf39c619d85bfabc975 (patch) | |
tree | f0e070a00451ee52ace5530283071a264b342e67 /lib/libc | |
parent | 7452e76589c3544aeda69ca97dfcbd139dc08c09 (diff) | |
download | FreeBSD-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