RHEL 9 "/etc/audit/" must be group-owned by root.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-270176 | SRG-OS-000080-GPOS-00048 | RHEL-09-232104 | SV-270176r1044967_rule | 2025-02-27 | 2 |
Description |
---|
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 the 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 |
---|
Change the group of the file "/etc/audit/" to "root" by running the following command: $ sudo chgrp root /etc/audit/ |