<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br>
<br>
I am trying to set the remember option for passwd. Following is the /etc/pam.d/system-auth file <br>
<br>
#%PAM-1.0<br>
# This file is auto-generated.<br>
# User changes will be destroyed the next time authconfig is run.<br>
auth        required      pam_env.so<br>
auth        required      /lib64/security/pam_tally.so deny=2 onerr=fail even_deny_root_account unlock_time=5<br>
auth        sufficient    pam_unix.so likeauth nullok<br>
auth        required      pam_deny.so<br>
<br>
#account     required      /lib64/security/pam_tally.so<br>
account     required      pam_unix.so<br>
<br>
password    required      pam_cracklib.so retry=3 minlen=8 difok=3 debug<br>
password    required      pam_passwdqc.so enforce=everyone min=disabled,8,8,8,8 similar=deny passphrase=0 random=0 match=4<br>
password    sufficient    pam_unix.so nullok use_authtok md5 shadow debug remember=5<br>
password    required      pam_deny.so<br>
<br>
session     optional      pam_keyinit.so revoke<br>
session     required      pam_limits.so<br>
session     [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid<br>
session     required      pam_unix.so<br>
<br>
<br>
But when I use passwd to change the password, it does not store the old
passwords in /etc/security/opasswd and it does not remember the old
passwords. Can you please let me know what am I doing wrong here. Please help. Thanks in advance.<br>
<br>
Thanks & Regards,<br>
Aruna</div>
<!-- cg29.c4.mail.gq1.yahoo.com compressed/chunked Wed Jan  6 10:22:30 PST 2010 -->
</div><br>

      </body></html>