Unlocking the VMware Cloud Director appliance root account
search cancel

Unlocking the VMware Cloud Director appliance root account


Article ID: 324852


Updated On:


VMware Cloud Director


This article provides information on manually unlocking the root account for the VMware Cloud Director appliance.


VMware Cloud Director 9.x
VMware Cloud Director 10.x


After three incorrect login attempts, the root account will lock. New attempts can be made after 15 minutes. If it is not desirable to wait 15 minutes, the root account can be manually unlocked.


To unlock the root account of the VMware Cloud Director appliance:
  1. Reboot the VMware Cloud Director appliance while connected to console in vSphere.
  2. When the Photon bootloader image appears, press e.
  3. Use the arrow keys to select the line beginning with "linux" and append "rw init=/bin/bash" to it.

    For example:

  4. Press Ctrl-X or F10 to start the boot process. The system will boot to a bash shell.
  5. Unlock the root account by running command: pam_tally2 --reset --user root.
  6. Reboot the appliance by running command: reboot -f.