OL6-00-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_Oracle_Linux_6_V2R7_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-208870r793655_rule, STIG-ID|OL6-00-000133, STIG-Legacy|SV-65213, STIG-Legacy|V-51007, Vuln-ID|V-208870

Plugin: Unix

Control ID: b16e6cb41f8036bb3032296799d069c5aba92b4c7dbe9586623c2d8f50861a6d