Skip to content

Ensure All Accounts on the System Have Unique Names

An XCCDF Rule

Description

Ensure accounts on the system have unique names. To ensure all accounts have unique names, run the following command:

$ sudo getent passwd | awk -F: '{ print $1}' | uniq -d
If a username is returned, change or delete the username.

Rationale

Unique usernames allow for accountability on the system.

ID
xccdf_org.ssgproject.content_rule_account_unique_name
Severity
Medium
References
Updated