Duplicate user names must not exist.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-216193 | SRG-OS-000480 | SOL-11.1-070140 | SV-216193r959010_rule | 2024-11-25 | 3 |
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. |