UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-240464 VRAU-SL-000740 SV-240464r671133_rule Medium
Description
Inconsistency in GIDs between /etc/passwd and /etc/group could lead to a user having unintended rights.
STIG Date
VMware vRealize Automation 7.x SLES Security Technical Implementation Guide 2021-06-24

Details

Check Text ( C-43697r671131_chk )
To ensure all GIDs referenced in /etc/passwd are defined in /etc/group, run the following command:

# pwck -rq

If a line is returned, this is a finding.
Fix Text (F-43656r671132_fix)
Add a group to the system for each GID referenced without a corresponding group.