SV-204461r603261_rule
V-204461
SRG-OS-000104-GPOS-00051
RHEL-07-020300
CAT III
10
Configure the system to define all GIDs found in the "/etc/passwd" file by modifying the "/etc/group" file to add any non-existent group referenced in the "/etc/passwd" file, or change the GIDs referenced in the "/etc/passwd" file to a group that exists in "/etc/group".
Verify all GIDs referenced in the "/etc/passwd" file are defined in the "/etc/group" file.
Check that all referenced GIDs exist with the following command:
# pwck -r
If GIDs referenced in "/etc/passwd" file are returned as not defined in "/etc/group" file, this is a finding.
V-204461
False
RHEL-07-020300
Verify all GIDs referenced in the "/etc/passwd" file are defined in the "/etc/group" file.
Check that all referenced GIDs exist with the following command:
# pwck -r
If GIDs referenced in "/etc/passwd" file are returned as not defined in "/etc/group" file, this is a finding.
M
2899