summaryrefslogtreecommitdiff
path: root/modules/pam_pwhistory/opasswd.c
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2012-05-28 20:24:17 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2012-05-28 20:24:17 +0200
commit585f6c06b2d3574935ed62c3084f2aadd6d1defb (patch)
tree72664ccbc33832b7a8a678ae7515f1aad786cac7 /modules/pam_pwhistory/opasswd.c
parentddf3ac65b547f331400d235e64a1dddce8d42155 (diff)
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_pwhistory/opasswd.c')
0 files changed, 0 insertions, 0 deletions