SV-268455r1038966_rule
V-268455
SRG-OS-000047-GPOS-00023
APPL-15-001010
CAT II
10
Configure the macOS system to shut down upon audit failure with the following command:
/usr/bin/sed -i.bak 's/^policy.*/policy: ahlt,argv/' /etc/security/audit_control; /usr/sbin/audit -s
Verify the macOS system is configured to shut down upon audit failure with the following command:
/usr/bin/awk -F':' '/^policy/ {print $NF}' /etc/security/audit_control | /usr/bin/tr ',' '\n' | /usr/bin/grep -Ec 'ahlt'
If the result is not "1", this is a finding.
V-268455
False
APPL-15-001010
Verify the macOS system is configured to shut down upon audit failure with the following command:
/usr/bin/awk -F':' '/^policy/ {print $NF}' /etc/security/audit_control | /usr/bin/tr ',' '\n' | /usr/bin/grep -Ec 'ahlt'
If the result is not "1", this is a finding.
M
5661