Information
The system must not have any unnecessary accounts.
GROUP ID: V-216460
RULE ID: SV-216460r959010
Accounts providing no operational purpose provide additional opportunities for system compromise. Unnecessary accounts include user accounts for individuals not requiring access to the system and application accounts for applications not installed on the system.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
The root role is required.
Remove all unnecessary accounts, such as games, from the /etc/passwd file before connecting a system to the network. Other accounts, such as news and gopher, associated with a service not in use should also be removed.
Identify unnecessary accounts.
# getent passwd
Remove unnecessary accounts.
# userdel [username]