RHEL 10 must be configured so that all local files and directories have a valid group owner.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-281074 | SRG-OS-000080-GPOS-00048 | RHEL-10-400285 | SV-281074r1165577_rule | 2026-03-11 | 1 |
Description
Files without a valid group owner may be unintentionally inherited if a group is assigned the same group identifier (GID) as the GID of the files without a valid group owner.
ℹ️ Check
Verify RHEL 10 is configured so that all local files and directories have a valid group with the following command:
$ df --local -P | awk {'if (NR!=1) print $6'} | sudo xargs -I '{}' find '{}' -xdev -nogroup
If any files on the system do not have an assigned group, this is a finding.
✔️ Fix
Configure RHEL 10 so that all local files and directories have a valid group owner.
Either remove all files and directories from RHEL 10 that do not have a valid group, or assign a valid group to all files and directories on the system with the "chgrp" command:
$ sudo chgrp <group> <file>