4.2.4 Ensure permissions on all logfiles are configured

Information

Log files stored in /var/log/ contain logged information from many services on the system, or on log hosts others as well. It is important to ensure that log files have the correct permissions to ensure that sensitive data is archived and protected.

Solution

Run the following command to set permissions on all existing log files: # chmod -R g-wx,o-rwx /var/log/*

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|5.1

Plugin: Unix

Control ID: 2718e419aee807e229439829e1beeb16ede316d4b2f9e1a85ab0ab225917d59a