4.2.1.3 Ensure rsyslog default file permissions configured - rsyslog.conf/rsyslog.d

Information

rsyslog will create logfiles that do not already exist on the system. This setting controls what permissions will be applied to these newly created files. It is important to ensure that log files have the correct permissions to ensure that sensitive data is archived and protected.

Solution

Edit the /etc/rsyslog.conf and set $FileCreateMode to 0640 or more restrictive: $FileCreateMode 0640

See Also

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

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9(4), CSCv6|5.1

Plugin: Unix

Control ID: 0964a47c2686d15e2a794d8a248f3e8f10f9b0a3166e8a4966b1e5e81dec3334