SV-226447r603265_rule
V-226447
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-226447
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
4060