4.1.4.4 Ensure the audit log directory is 0750 or more restrictive
Audit#
Run the following command to verify that the audit log directory has a mode of 0750 or less permissive:
# stat -Lc "%n %a" "$(dirname $( awk -F"=" '/^\s*log_file/ {print $2}' /etc/audit/auditd.conf))" | grep -Pv -- '^\h*\H+\h+([0,5,7][0,5]0)'
Nothing should be returned
Remediation#
Run the following command to configure the audit log directory to have a mode of "0750" or less permissive:
Default Value:
750