SV-227573r603266_rule
V-227573
SRG-OS-000480
GEN000380
CAT III
10
Add a group to the system for each GID referenced that does not have a corresponding group.
#/usr/sbin/groupadd < group >
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.
V-227573
False
GEN000380
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.
M
4061