Audit log files must be group-owned by root.

From Red Hat Enterprise Linux 6 Security Technical Implementation Guide

Part of SRG-OS-000057

Associated with: CCI-000162

SV-50245r2_rule Audit log files must be group-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 group owner of the system audit logs: grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//|xargs stat -c %G:%n Audit logs must be group-owned by root. If they are not, this is a finding.

Fix text

Change the group owner of the audit log files with the following command: # chgrp 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