2.300 - All Group Identifiers (GIDs) referenced in the /etc/passwd file must be defined in the /etc/group file.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

If a user is assigned the GID of a group not existing 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 to define all GIDs found in the "/etc/passwd" file by modifying the "/etc/group" file to add any non-existent group referenced in the "/etc/passwd" file, or change the GIDs referenced in the "/etc/passwd" file to a group that exists in "/etc/group".

See Also

https://docs.fedoraproject.org/f28/system-administrators-guide/index.html

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2

Plugin: Unix

Control ID: f5af24df30573df51367ca6be59129e6c61e9e5253df584c08e661254d756edf