Disable Interactive Login

Details

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:
– Open group policy – gpedit.msc
– Navigate to Local Computer Policy Computer Configuration Windows Settings Security Settings Local Policies User Rights Assignment
– In policy ‘Deny log on locally’, add the MYSQL_USER

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Access Control.This control applies to the following type of system Windows.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles