Duplicate user names must not exist.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-216193SRG-OS-000480SOL-11.1-070140SV-216193r959010_rule2024-11-253
Description
If a user is assigned a duplicate user name, it will create and have access to files with the first UID for that username in passwd.
ℹ️ Check
The root role is required. Identify any duplicate user names. # getent passwd | awk -F: '{print $1}' | uniq -d If output is produced, this is a finding.
✔️ Fix
The root role is required. Correct or justify any items discovered in the Check step. Determine if there are any duplicate user names, and work with their respective owners to determine the best course of action in accordance with site policy. Delete or change the user name of duplicate users.