UCF STIG Viewer Logo

Audit log files must have mode 0640 or less permissive.


Finding ID Version Rule ID IA Controls Severity
V-218084 RHEL-06-000383 SV-218084r505923_rule Medium
If users can write to audit logs, audit trails can be modified or destroyed.
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2020-09-03


Check Text ( C-19565r377267_chk )
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 (F-19563r377268_fix)
Change the mode of the audit log files with the following command:

# chmod 0640 [audit_file]