2V0-621 · Question #225
An administrator decides to change the root password for an ESXi 6.x host to comply with the company's security policies. What are two ways that this can be accomplished? (Choose two.)
The correct answer is A. Use the Direct Console User Interface to change the password. B. Use the passwd command in the ESXi Shell. Changing the ESXi root password can be done through the DCUI or the ESXi Shell using the standard Linux passwd command.
Question
An administrator decides to change the root password for an ESXi 6.x host to comply with the company's security policies. What are two ways that this can be accomplished? (Choose two.)
Options
- AUse the Direct Console User Interface to change the password.
- BUse the passwd command in the ESXi Shell.
- CUse the password command in the ESXi Shell.
- DUse the vSphere client to update local users.
How the community answered
(27 responses)- A96% (26)
- D4% (1)
Why each option
Changing the ESXi root password can be done through the DCUI or the ESXi Shell using the standard Linux passwd command.
The Direct Console User Interface (DCUI) provides a menu-driven option under 'Configure Password' that allows an administrator to set a new root password without needing shell access.
The ESXi Shell supports standard Linux user management commands, and 'passwd' is the correct command to change the root password interactively from the command line.
'password' is not a valid ESXi Shell or Linux command for changing user passwords - the correct command is 'passwd', making this option incorrect.
The vSphere Client (C# thick client) in ESXi 6.x does not expose a direct interface for changing the root password under local user management for an ESXi host.
Concept tested: ESXi root password change methods
Source: https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.esxi.install.doc/GUID-46AED4E6-BE5C-4A93-BCDC-10FABE7A1E39.html
Topics
Community Discussion
No community discussion yet for this question.