Check: GEN000380
Solaris 10 X86 STIG:
GEN000380
(in versions v2 r4 through v1 r17)
Title
All GIDs referenced in the /etc/passwd file must be defined in the /etc/group file. (Cat III impact)
Discussion
If a user is assigned the GID of a group not existing on the system, and a group with the same GID is subsequently created, the user may have unintended rights to the group.
Check Content
Perform the following to ensure there are no GIDs referenced in /etc/passwd not defined in /etc/group. # logins -o | awk -F: '$3 == ""' If any lines are returned, there are GIDs referenced in /etc/passwd that are not defined in /etc/group, this is a finding.
Fix Text
Add a group to the system for each GID referenced that does not have a corresponding group. #/usr/sbin/groupadd < group >
Additional Identifiers
Rule ID: SV-227573r603266_rule
Vulnerability ID: V-227573
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |