1. Home
  2. Security Hardening
  3. CIS MySQL 5.7 Enterprise Windows OS L1 V1.0.0
  4. Ensure ‘log_bin_basename’ Files Have Appropriate Permissions and Ownership

Ensure ‘log_bin_basename’ Files Have Appropriate Permissions and Ownership

Details

Limiting the accessibility of these objects will protect the confidentiality, integrity, and availability of the MySQL logs.

Solution

Execute the following command for each log file location requiring corrected permissions and ownership: chmod 660 chown mysql:mysql Impact: Changing the permissions and ownership of the log files might impact monitoring tools which use a logfile adapter. If the permissions on the binary log files are accidentally changed to exclude the user account which is used to run the MySQL service, then this might break replication. The binary log file can be used for point in time recovery so this can also affect backup, restore and disaster recovery procedures.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability, Configuration Management.This control applies to the following type of system Windows.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles