UCF STIG Viewer Logo

Audit log files must have mode 0640 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-209053 OL6-00-000383 SV-209053r793774_rule Medium
Description
If users can write to audit logs, audit trails can be modified or destroyed.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2021-12-03

Details

Check Text ( C-9306r357944_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-9306r357945_fix)
Change the mode of the audit log files with the following command:

# chmod 0640 [audit_file]