SV-215245r508663_rule
V-215245
SRG-OS-000057-GPOS-00027
AIX7-00-002015
CAT II
10
Set the permission of the audit log file to "660".
# chmod 660 <auditlog file>
Check the log files under the audit logging directory have correct permissions.
The default log file is /audit/trail.
The log file can be set by the "trail" variable in /etc/security/audit/config.
# grep trail /etc/security/audit/config
trail = /audit/trail
# ls -l <auditlog dir>
total 240
-rw-rw---- 1 root system 0 Feb 23 08:44 bin1
-rw-rw---- 1 root system 0 Feb 23 08:44 bin2
-rw-r----- 1 root system 116273 Feb 23 08:44 trail
If any file has a mode more permissive than "660", this is a finding.
V-215245
False
AIX7-00-002015
Check the log files under the audit logging directory have correct permissions.
The default log file is /audit/trail.
The log file can be set by the "trail" variable in /etc/security/audit/config.
# grep trail /etc/security/audit/config
trail = /audit/trail
# ls -l <auditlog dir>
total 240
-rw-rw---- 1 root system 0 Feb 23 08:44 bin1
-rw-rw---- 1 root system 0 Feb 23 08:44 bin2
-rw-r----- 1 root system 116273 Feb 23 08:44 trail
If any file has a mode more permissive than "660", this is a finding.
M
4012