1.5 Disable Interactive Login

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
usermod -s /sbin/nologin

See Also

https://benchmarks.cisecurity.org/tools2/mysql/CIS_Oracle_MySQL_Community_Server_5.6_Benchmark_v1.0.0.pdf

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6

Plugin: Windows

Control ID: 4b7763d4f3006b08d9449e99a7d412e1dcad08301955f5218ed22a9c093cf3bc