Audit log files must have mode 0640 or less permissive.

From Oracle Linux 6 Security Technical Implementation Guide

Part of SRG-OS-000058

Associated with: CCI-000163

SV-64837r1_rule Audit log files must have mode 0640 or less permissive.

Vulnerability discussion

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

Check content

Run the following command to check the mode of the system audit logs: grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//|xargs stat -c %a:%n Audit logs must be mode 0640 or less permissive. If any are more permissive, this is a finding.

Fix text

Change the mode of the audit log files with the following command: # chmod 0640 [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