Symptoms
You see an error similar to the following when attempting to create a database user.
Error/(XID fd46n5) The system received an error from the "MySQL" database "mysql":
1819 (Your password does not satisfy the current policy requirements)
You also see cracklib_password_check_dictionary
listed when you list the MariaDB variables.
MariaDB [(none)]> SHOW VARIABLES LIKE '%pass%';
+------------------------------------+-----------------------------+
| Variable_name | Value |
+------------------------------------+-----------------------------+
| cracklib_password_check_dictionary | /usr/share/cracklib/pw_dict |
| old_passwords | OFF |
| report_password | |
| strict_password_validation | ON |
+------------------------------------+-----------------------------+
4 rows in set (0.001 sec)
Description
This issue is caused by the Cracklib Password Check Plugin being installed. It is incompatible with the cPanel & WHM software and will prevent the addition of database users via the WHM and cPanel interfaces or API calls.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command to remove the plugin.
mysql -e "UNINSTALL PLUGIN cracklib_password_check;"
Additional resources
MySQL "Your password does not satisfy the current policy requirements"
Comments
0 comments
Article is closed for comments.