RHEL-09-411045 - All RHEL 9 interactive users must have a primary group that exists.

Information

If a user is assigned the Group Identifier (GID) of a group that does not exist on the system, and a group with the GID is subsequently created, the user may have unintended rights to any files associated with the group.

Solution

Configure the system so that all GIDs are referenced in '/etc/passwd' are defined in '/etc/group'.

Edit the file '/etc/passwd' and ensure that every user's GID is a valid GID.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R2_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-2, CAT|II, CCI|CCI-000764, Rule-ID|SV-258048r958482_rule, STIG-ID|RHEL-09-411045, Vuln-ID|V-258048

Plugin: Unix

Control ID: 667c3cfbc78ce81952735e17b4e2b5c236db87ff5a940ade85286ee7770f59f6