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: 2172083fdf17069683e5e51d20b01952d197e262dcdbda04e3925e88a6312fd4