(Optional) Setting the Password Validity Period
- Check the password validity period.
The value of parameter PASS_MAX_DAYS is the password validity period.
- Change the value of parameter PASS_MAX_DAYS.
chage -M 99999 user_name
99999 is the password validity period, and user_name is a system user.
Configure the password validity period as needed and change it on a regular basis.
- Run vi /etc/login.defs to verify that the configuration has taken effect.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.