Audit log files must be owned by root.

From Oracle Linux 6 Security Technical Implementation Guide

Part of SRG-OS-000057

Associated with: CCI-000162

SV-64835r1_rule Audit log files must be owned by root.

Vulnerability discussion

If non-privileged users can write to audit logs, audit trails can be modified or destroyed.

Check content

Run the following command to check the owner of the system audit logs: grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//|xargs stat -c %U:%n Audit logs must be owned by root. If they are not, this is a finding.

Fix text

Change the owner of the audit log files with the following command: # chown root [audit_file]

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer