4.5 Ensure mariadb is Not Started With 'skip-grant-tables'

Warning! Audit Deprecated

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

View Next Audit Version

Information

This option causes mariadbd to start without using the privilege system.

Rationale:

If this option is used, all clients of the affected server will have unrestricted access to all databases.

Solution

Perform the following to establish the recommended state:

Open the MariaDB configuration (e.g., mariadb.cnf) file and set:

skip-grant-tables = FALSE

If there are any occurrences of skip_grant_tables, also set that to FALSE or remove it.

See Also

https://workbench.cisecurity.org/benchmarks/12270