SV-226422r603265_rule
V-226422
SRG-OS-000480
GEN000000-SOL00440
CAT I
10
Change the default GID of non-root accounts to a valid GID other than 0.
Check passwd and group files for non-root user ids and group ids with a GID of 0.
# more /etc/passwd
# more /etc/group
OR
# awk -F: '$4 == 0' /etc/passwd
# awk -F: '$3 == 0' /etc/group
Confirm the only account with a group id of 0 is root.
If the root account is not the only account with GID of 0, this is a finding.
V-226422
False
GEN000000-SOL00440
Check passwd and group files for non-root user ids and group ids with a GID of 0.
# more /etc/passwd
# more /etc/group
OR
# awk -F: '$4 == 0' /etc/passwd
# awk -F: '$3 == 0' /etc/group
Confirm the only account with a group id of 0 is root.
If the root account is not the only account with GID of 0, this is a finding.
M
4060