7.2 Ensure 'sql_mode' Contains 'NO_AUTO_CREATE_USER' - config files not found

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

NO_AUTO_CREATE_USER is an option for sql_mode that prevents a GRANT statement from automatically creating a user when authentication information is not provided.

Solution

Perform the following actions to remediate this setting:
1. Open the MySQL configuration file (my.cnf)
2. Find the sql_mode setting in the [mysqld] area
3. Add the NO_AUTO_CREATE_USER to the sql_mode setting

See Also

https://workbench.cisecurity.org/files/1617