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.
How does one set the password expiration parameters on CentOS or Red Hat Linux using PAM? Specifically, I need to set the following:
There is a file that will do this: /etc/login.defs
. Two values you want to look to change here: