1.5 Disable Interactive Login

Warning! Audit Deprecated

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

View Next Audit Version

Information

When created, the MySQL user may have interactive access to the operating system, which means that the MySQL user could login to the host as any other user would.
NOTE : Update MYSQL_USER to the appropriate value for your local environment.

Solution

Perform the following steps to remediate this setting:
- Execute one of the following commands in a terminal
usermod -s /bin/false mysql
usermod -s /sbin/nologin mysql

See Also

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