ALMA-09-033130 - All AlmaLinux OS 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 referenced in "/etc/passwd" are defined in "/etc/group".

See Also

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