Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-51627 | OSX8-00-00340 | SV-65837r1_rule | Medium |
Description |
---|
Audit log files should be owned by root:wheel. |
STIG | Date |
---|---|
Apple OS X 10.8 (Mountain Lion) Workstation STIG | 2015-02-10 |
Check Text ( C-53941r1_chk ) |
---|
To check the ownership of the audit log files, run the following command: sudo -s ls -n `sudo grep "^dir" /etc/security/audit_control | awk -F: '{print $2 "/*"}'` | awk '{ print $3 $4 ":" $9 }' The results should read "0:0" in the first column. The first 0 is UID, the second is GID, with the first "0" being root, and the second "0" being wheel. If not, this is a finding. |
Fix Text (F-56429r2_fix) |
---|
For any log file that returns an incorrect permission value, run the following command: chown root:wheel [audit log file] where [audit log file] is the full path to the log file in question. |