The PAM module pam_unix.so can be configured to maintain a list of old passwords. The list is located in the /etc/security/opasswd file. To remember the last 15 passwords, add the line below to the /etc/pam.d/system-auth file: password sufficient /lib/security/pam_unix.so use_authtok md5 shadow remember=15 You can replace the 15 number with the integer you preferred. More information on pam can be obtain from /usr/share/doc/pam-<version> On Wed, 19 Jan 2005 zhicheng wang wrote : >dear all > >as Linux does not have a facility to remember the old >passwords for each user, how do i prevent users re-use >their old passwd? is there any software to do this? or >anything like pam can be configured to use some sort >of db to do this? > >any suggestions are highly appreciated. >thanks >cheng > > >===== >Best wishes >Z C Wang > > > > > >___________________________________________________________ >ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com > >-- >redhat-list mailing list >unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe >https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list