nerdexam
Broadcom-VMware

2V0-622 · 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.. The two supported methods for changing the ESXi root password are the Direct Console User Interface and the passwd command in the ESXi Shell.

Section 1 – Configure and Administer vSphere 6.5 Security

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

(17 responses)
  • A
    94% (16)
  • C
    6% (1)

Why each option

The two supported methods for changing the ESXi root password are the Direct Console User Interface and the passwd command in the ESXi Shell.

AUse the Direct Console User Interface to change the password.Correct

The DCUI provides a console-based menu accessible at the physical or virtual console where an administrator selects Customize System to change the root password - this works even when network access or vCenter connectivity is unavailable.

BUse the passwd command in the ESXi Shell.Correct

The passwd command is the standard utility available in the ESXi Shell that follows Unix conventions for changing a user's password, and it is explicitly supported on ESXi for changing the root or any local user account password.

CUse the password command in the ESXi Shell.

The command password does not exist in the ESXi Shell; the correct binary for changing passwords on ESXi is passwd, following standard Unix/Linux naming.

DUse the vSphere client to update local users.

The legacy vSphere Client (C# thick client) did not support modifying ESXi local user passwords in vSphere 6.x, making this method unsupported for root password changes on that platform version.

Concept tested: ESXi root password change via DCUI and ESXi Shell

Source: https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.security.doc/GUID-4419B6C8-E0E3-4E06-B4F2-3CA7E9D7ECB5.html

Topics

#ESXi root password#DCUI#ESXi Shell#host security

Community Discussion

No community discussion yet for this question.

Full 2V0-622 Practice