diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2012-05-28 20:24:17 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2012-05-28 20:24:17 +0200 |
commit | 585f6c06b2d3574935ed62c3084f2aadd6d1defb (patch) | |
tree | 72664ccbc33832b7a8a678ae7515f1aad786cac7 /modules/pam_unix/pam_unix_sess.c | |
parent | ddf3ac65b547f331400d235e64a1dddce8d42155 (diff) | |
download | pam-585f6c06b2d3574935ed62c3084f2aadd6d1defb.tar.gz pam-585f6c06b2d3574935ed62c3084f2aadd6d1defb.tar.bz2 pam-585f6c06b2d3574935ed62c3084f2aadd6d1defb.zip |
pam_pwhistory: Always record the old password even when root changes it.
modules/pam_pwhistory/pam_pwhistory.c (pam_sm_chauthtok): Use the UID of
the process instead of the target user UID (same as in pam_cracklib) to
check for root. Always record old password.
Diffstat (limited to 'modules/pam_unix/pam_unix_sess.c')
0 files changed, 0 insertions, 0 deletions