SV-208809r603263_rule
V-208809
SRG-OS-000480
OL6-00-000032
CAT II
10
If any account other than root has a UID of 0, this misconfiguration should be investigated and the accounts other than root should be removed or have their UID changed.
To list all password file entries for accounts with UID 0, run the following command:
# awk -F: '($3 == 0) {print}' /etc/passwd
This should print only one line, for the user root.
If any account other than root has a UID of 0, this is a finding.
V-208809
False
OL6-00-000032
To list all password file entries for accounts with UID 0, run the following command:
# awk -F: '($3 == 0) {print}' /etc/passwd
This should print only one line, for the user root.
If any account other than root has a UID of 0, this is a finding.
M
2928