UCF STIG Viewer Logo

All GIDs referenced in the /etc/passwd file must be defined in the /etc/group file.


Overview

Finding ID Version Rule ID IA Controls Severity
V-781 GEN000380 SV-44827r1_rule Low
Description
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 the group.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-42299r1_chk )
Perform the following to ensure there are no GIDs referenced in /etc/passwd not defined in /etc/group:
# pwck -r
If GIDs referenced in /etc/passwd are not defined in /etc/group are returned, this is a finding.
Fix Text (F-38266r1_fix)
Add a group to the system for each GID referenced without a corresponding group.