SV-268458r1034314_rule
V-268458
SRG-OS-000057-GPOS-00027
APPL-15-001014
CAT II
10
Configure the macOS system with audit log files group-owned by wheel with the following command:
/usr/bin/chgrp -R wheel /var/audit/*
Verify the macOS system is configured with audit log files group-owned by wheel with the following command:
/bin/ls -n $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}') | /usr/bin/awk '{s+=$4} END {print s}'
If the result is not "0", this is a finding.
V-268458
False
APPL-15-001014
Verify the macOS system is configured with audit log files group-owned by wheel with the following command:
/bin/ls -n $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}') | /usr/bin/awk '{s+=$4} END {print s}'
If the result is not "0", this is a finding.
M
5661