"password is easily cracked" Displayed When an RDS for PostgreSQL User Is Created
Scenario
The error message "password is easily cracked" is displayed when a database user is created for an RDS for PostgreSQL instance.
Possible Causes
This is because a weak password is intercepted. In RDS for PostgreSQL 11.22, 12.22, 13.18, 14.15, 15.10, 16.6, and later versions, weak password detection is enabled by default. If a weak password is used to create a user, an error will be reported.
Solutions
- Use a complex password to prevent brute-force attacks.
- To disable weak password interception, set passwordcheck.rds_enable_cracklib to off to avoid weak password verification. For details, see Modifying Parameters of an RDS for PostgreSQL Instance. Then the password is checked only according to the basic rules.
The basic rules are as follows:
- The password must contain at least eight characters.
- The password must consist of letters and other characters.
- The password cannot contain the username.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot