4.2.4 Ensure permissions on all logfiles are configured

Information

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: # find /var/log -type f -exec chmod g-wx,o-rwx {} +

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 7c34f79dd9737e9b0015b12bf2325f8d28f6c0791e26b3ab3d046a40244d0b8b