Configuring a Password Expiration Policy
Using the same password too long makes it easier for hackers to crack or guess your password. Requiring password changes after a certain amount of time can improve security. This section describes how to configure a password expiration policy.
Precautions
- Once your password expires, you cannot log in to the database.
- After the password expiration policy is configured, you need to periodically check whether your password is about to expire.
Modifying the Database Parameter
- Log in to the management console.
- Click
in the upper left corner of the page and choose Databases > Relational Database Service. - On the Instances page, click the instance name to go to the Overview page.
- In the navigation pane, choose Parameters.
- On the displayed page, change the value of default_password_lifetime.
The value of this parameter indicates how many days until a password expires. The default value is 0, indicating that the created user password will never expire.
- Click Save. In the displayed dialog box, click Yes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.