UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Audit log files must have mode 0640 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-50631 OL6-00-000383 SV-64837r1_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 2018-03-01

Details

Check Text ( C-53139r1_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-55429r1_fix)
Change the mode of the audit log files with the following command:

# chmod 0640 [audit_file]