Information
RHEL 10 must enforce the audit log directory to have a mode of "0750" or less permissive to prevent unauthorized read access.
GROUP ID: V-281055RULE ID: SV-281055r1165520
If users can write to audit logs, audit trails can be modified or destroyed.
Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000058-GPOS-00028, SRG-OS-000059-GPOS-00029
Solution
Configure RHEL 10 so that the audit log directories have a mode of "0750" or less permissive to prevent unauthorized read access with the following command:
$ sudo chmod 0700 /var/log/audit
Note: The correct permissions are "0700" if the directory is owned by "root"; otherwise, the correct permissions are "0750".
Restart the audit daemon with the following command for the changes to take effect:
$ sudo service auditd restart