Reset lost password vCenter Appliance 5.5

Hmm, not sure wtf happened but logging into my test environment VMWare vSphere vCenter Appliance 5.5 was suddenly a no-go. And unlucky me is also about 3000 miles away from the cluster 🙁

Technically I can still manage the three-node-cluster by accessing each node individually using the local account but that’s not the way.

Password reset steps

  1. login to the node which holds the vCenter Appliance
  2. restart the vCenter Appliance VM
  3. select the “console” tab and wait for the GRUB bootmenu
  4. select the second option “failsafe” –> DO NOT PRESS ENTER
  5. editing boot options is prohibited by the default password. This does not change.
  6. press “p” and enter the password “vmware”
  7. select the line that starts with “kernel”
  8. press “e” (this will edit the line to add boot options)
  9. and add ” init=/bin/sh” to the end
  10. press enter
  11. now press “b” to boot vCenter Appliance in single-user mode
  12. when you have the prompt, type “passwd root” and provide a new root password
  13. type “reboot”

This beats a reinstall and/or recovery through backup 🙂

This entry was posted in Technotes and tagged , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.