Use PAM to force users for new password

If you want to force users not to use the earlier used password again. You can take the help of PAM.

Just edit the file “/etc/pam.d/system-auth” and append the word “remember=10” in the password sufficient line. In this case I am telling the PAM to remember last 10 used passwords. So the users will be forced to use new passwords.

Here is the screenshot of the job executed on my machine.

Using PAM to force new passwords

Using PAM to force new passwords

I deserve “like”, “comments” and “share” for all the photo-editing job that I had done. 🙂

You can also view this post on Network NUTS Facebook Page.