SV-281192r1166528_rule
V-281192
SRG-OS-000080-GPOS-00048
RHEL-10-600400
CAT II
10
Configure RHEL 10 so that only the "root" account has a UID assignment of "0".
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.
Verify RHEL 10 is configured so that only the "root" account has a UID "0" assignment with the following command:
$ awk -F: '$3 == 0 {print $1}' /etc/passwd
root
If any accounts other than "root" have a UID of "0", this is a finding.
V-281192
False
RHEL-10-600400
Verify RHEL 10 is configured so that only the "root" account has a UID "0" assignment with the following command:
$ awk -F: '$3 == 0 {print $1}' /etc/passwd
root
If any accounts other than "root" have a UID of "0", this is a finding.
M
5733