How does one set the password expiration parameters on CentOS or Red Hat Linux using PAM? Specifically, I need to set the following:
- Maximum number of days that a password may be used.
- Minimum number of days allowed between password changes.
There is a file that will do this:
the parameters you are searching for are:
you'll find a more detailed explanation and some other hints here.