SV-216201r603268_rule
V-216201
SRG-OS-000480
SOL-11.1-070220
CAT II
10
The root role is required.
Change the default GID of non-root accounts to a valid GID other than 0.
Identify any users with GID of 0.
# 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-216201
False
SOL-11.1-070220
Identify any users with GID of 0.
# 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
4021