SV-269540r1050423_rule
V-269540
SRG-OS-000057-GPOS-00027
ALMA-09-056120
CAT II
10
Change the audit logs to have 0600 permissions:
$ chmod 0600 /var/log/audit/*
Verify the audit log files have 0600 (u=rw-) permissions.
First determine where the audit logs are stored with the following command:
$ grep -w log_file /etc/audit/auditd.conf
log_file = /var/log/audit/audit.log
Then using the location of the audit log file, determine if the audit logs have 0600 permissions using the following command:
$ stat -c "%U:%G %#a %n" /var/log/audit/*
root:root 0600 /var/log/audit/audit.log
If the audit log files do not have 0600 permissions, this is a finding.
V-269540
False
ALMA-09-056120
Verify the audit log files have 0600 (u=rw-) permissions.
First determine where the audit logs are stored with the following command:
$ grep -w log_file /etc/audit/auditd.conf
log_file = /var/log/audit/audit.log
Then using the location of the audit log file, determine if the audit logs have 0600 permissions using the following command:
$ stat -c "%U:%G %#a %n" /var/log/audit/*
root:root 0600 /var/log/audit/audit.log
If the audit log files do not have 0600 permissions, this is a finding.
M
5664