RHEL-06-000133 - All rsyslog-generated log files must be owned by root.

Information

The log files generated by rsyslog contain valuable information regarding system configuration, user authentication, and other such information. Log files should be protected from unauthorized access.

Solution

The owner of all log files written by 'rsyslog' should be root. These log files are determined by the second part of each Rule line in '/etc/rsyslog.conf' typically all appear in '/var/log'. For each log file [LOGFILE] referenced in '/etc/rsyslog.conf', run the following command to inspect the file's owner:

$ ls -l [LOGFILE]

If the owner is not 'root', run the following command to correct this:

# chown root [LOGFILE]

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R2_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-217938r603264_rule, STIG-ID|RHEL-06-000133, STIG-Legacy|SV-50319, STIG-Legacy|V-38518, Vuln-ID|V-217938

Plugin: Unix

Control ID: 332b86f11f540f9a8721a8dcb895858696f812acec7967098b9d8fb675f05097