The root account must be the only account with unrestricted access to TOSS 5 system.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| high | V-282729 | SRG-OS-000480-GPOS-00227 | TOSS-05-000307 | SV-282729r1201167_rule | 2026-04-01 | 1 |
Description
An account has root authority if it has a user identifier (UID) of "0". Multiple accounts with a UID of "0" afford more opportunity for potential intruders to guess a password for a privileged account. Properly configuring sudo is recommended to afford multiple system administrators (SAs) access to root privileges in an accountable manner.
ℹ️ Check
Verify only the "root" account has a UID "0" assignment using 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.
✔️ Fix
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.