SV-230534r627750_rule
V-230534
SRG-OS-000480-GPOS-00227
RHEL-08-040200
CAT I
10
Change the UID of any account on the system, other than root, that has a UID of "0".
If the account is associated with system commands or applications, the UID should be changed to one greater than "0" but less than "1000". Otherwise, assign a UID of greater than "1000" that has not already been assigned.
Check the system for duplicate UID "0" assignments with the following command:
$ sudo awk -F: '$3 == 0 {print $1}' /etc/passwd
If any accounts other than root have a UID of "0", this is a finding.
V-230534
False
RHEL-08-040200
Check the system for duplicate UID "0" assignments with the following command:
$ sudo awk -F: '$3 == 0 {print $1}' /etc/passwd
If any accounts other than root have a UID of "0", this is a finding.
M
2921