I am trying to harden RHEL with CIS benchmark. One of the items states the following:
Ensure permissions on all logfiles are configured
Description: Log files stored in /var/log/ contain logged information from many services on the system, or on log hosts others as well.
Rationale: It is important to ensure that log files have the correct permissions to ensure that sensitive data is archived and protected. Other/world should not have the ability to view this information. Group should not have the ability to modify this information.
My questions:
- What kind of system logs are considered as sensitive data?
- Is it acceptable if there are deviations because some system logs permission will be reset during boot?