SV-268457r1034311_rule
V-268457
SRG-OS-000057-GPOS-00027
APPL-15-001013
CAT II
10
Configure the macOS system with audit log folders owned by root with the following command:
/usr/sbin/chown root /var/audit
Verify the macOS system is configured with audit log folders owned by root with the following command:
/bin/ls -dn $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}') | /usr/bin/awk '{print $3}'
If the result is not "0", this is a finding.
V-268457
False
APPL-15-001013
Verify the macOS system is configured with audit log folders owned by root with the following command:
/bin/ls -dn $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}') | /usr/bin/awk '{print $3}'
If the result is not "0", this is a finding.
M
5661