Help Center/
Bare Metal Server/
Private Image Creation Guide/
Linux/
Performing Security Configuration/
(Optional) Setting the Password Validity Period
Updated on 2022-07-12 GMT+08:00
(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.
Parent topic: Performing Security Configuration
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot