UCF STIG Viewer Logo

Audit log directories must have mode 0755 or less permissive.


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


Check Text ( C-19567r377273_chk )
Run the following command to check the mode of the system audit directories:

grep "^log_file" /etc/audit/auditd.conf|sed 's/^[^/]*//; s/[^/]*$//'|xargs stat -c %a:%n

Audit directories must be mode 0755 or less permissive.
If any are more permissive, this is a finding.
Fix Text (F-19565r377274_fix)
Change the mode of the audit log directories with the following command:

# chmod go-w [audit_directory]