RHEL 10 must enforce root group ownership of the "/etc/audit/" directory.

STIG ID: RHEL-10-400200  |  SRG: SRG-OS-000063-GPOS-00032 |  Severity: medium (CAT II)  |  CCI: CCI-000171 |  Vulnerability Id: V-281057

Vulnerability Discussion

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.

Check

Verify RHEL 10 enforces root group ownership of the "/etc/audit/" directory with the following command:

$ sudo stat -c "%G %n" /etc/audit/
root /etc/audit/

If "/etc/audit/" does not have a group owner of "root", this is a finding.

Fix

Configure RHEL 10 so that the "/etc/audit/" directory is group-owned by "root" with the following command:

$ sudo chgrp root /etc/audit/