4.1 Create a non-root user account for local admin access

Information

Create at least one named user account and use this account in lieu of a shared 'root'
account.

*Rationale*

By default each ESXi host has a single 'root' admin account that is used for local
administration and to connect the host to vCenter Server. To avoid sharing a common root
account it is recommended on each host to create at least one named user account and
assign it full admin privileges and to use this account in lieu of a shared 'root' account. Set
a highly complex password for the 'root' account and secure it in a safe location. Limit the
use of 'root' but do not remove the 'root' account.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Local ESXi user accounts cannot be created using the vSphere web client, you must use the
vSphere client.1. Connect directly to the ESXi host using the vSphere Client.
2. Login as root.
3. Select the 'Local Users & Groups' tab
4. Add a local user, be sure to grant shell access to this user.
5. Select the 'Permissions' tab.
6. Assign the 'Administrator' role to the user.
7. Repeat this for each ESXi hosts.

Notes-

1. Even if you add your ESXi host to an Active Directory domain it is still recommended
to add at least one local user account to ensure admins can still login in the event the
host ever becomes isolated and unable to access Active Directory.
2. Adding local user accounts can be automated using Host Profiles.

Default Value-The prescribed state is not the default state.

See Also

https://workbench.cisecurity.org/files/145

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7

Plugin: VMware

Control ID: aecec3533c0c519b19fd8e7493d48c9d277ecc227d4d075314fd9392b616b3eb