Help with PAM remember option
Hi,
How do I configure PAM to use the remember option for the passwd.
It should remember the last 10 passwords and shouldnt allow the user to use the same old passwords.
Here is what I have configured but doesnt work
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth required /lib64/security/pam_tally.so deny=2 onerr=fail even_deny_root_account unlock_time=5
auth sufficient pam_unix.so likeauth nullok
auth required pam_deny.so
#account required /lib64/security/pam_tally.so
account required pam_unix.so
password required pam_cracklib.so retry=3 minlen=8 difok=3 debug
password required pam_passwdqc.so enforce=everyone min=disabled,8,8,8,8 similar=deny passphrase=0 random=0 match=4
password sufficient pam_unix.so nullok use_authtok md5 shadow debug remember=5
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
Please help.
Thanks & Regards,
Arusre.
|