SV-225149r610901_rule
V-225149
SRG-OS-000057-GPOS-00027
AOSX-15-001015
CAT II
10
For any log folder that has an incorrect group, run the following command:
/usr/bin/sudo chgrp wheel [audit log folder]
To check the group ownership of the audit log folder, run the following command:
/usr/bin/sudo ls -lde $(/usr/bin/sudo /usr/bin/grep '^dir' /etc/security/audit_control | awk -F: '{print $2}')
The results should show the group (fourth column) to be "wheel".
If they do not, this is a finding.
V-225149
False
AOSX-15-001015
To check the group ownership of the audit log folder, run the following command:
/usr/bin/sudo ls -lde $(/usr/bin/sudo /usr/bin/grep '^dir' /etc/security/audit_control | awk -F: '{print $2}')
The results should show the group (fourth column) to be "wheel".
If they do not, this is a finding.
M
4212