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.
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