SV-225147r610901_rule
V-225147
SRG-OS-000057-GPOS-00027
AOSX-15-001013
CAT II
10
For any log folder that has an incorrect owner, run the following command:
/usr/bin/sudo chown root [audit log folder]
To check the 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 owner (third column) to be "root".
If it does not, this is a finding.
V-225147
False
AOSX-15-001013
To check the 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 owner (third column) to be "root".
If it does not, this is a finding.
M
4212