Rule ID
SV-281056r1165523_rule
Version
V1R1
CCIs
The "/etc/audit/" directory contains files that ensure the proper auditing of command execution, privilege escalation, file manipulation, and more. Protection of this directory is critical for system security.
Verify RHEL 10 enforces root ownership of the "/etc/audit/" directory with the following command: $ sudo stat -c "%U %n" /etc/audit/ root /etc/audit/ If the "/etc/audit/" directory does not have an owner of "root", this is a finding.
Configure RHEL 10 so that the "/etc/audit/" directory is owned by "root" with the following command: $ sudo chown root /etc/audit/