When you setup Vmware Vcenter Server Appliance , it will default expires your root password for it, if you do not schedule a reset, it will eventually lock you out, showing this, when you login to http://vcenter.domain.local:5480:
This message will show if the password is expired, and you typed the correct old root password, if you did type a wrong password you will get:
How to fix:
- Launch remote/web console to your VCSA by logging on to the vSphere ESXi server that is hosting it.
- Press F2 to configure your vCenter appliance
- When prompted, type in your root password (YES – the one’s that exiredv ;))
- You will se an option to change root password from here, but it will not work, because it’s expired!!.
- Go to “troubleshooting mode options” and enable BASH and enable SSH
-
- Connect to your VCSA using SSH with ex. Putty – logging on with root and your expired root password.
- Type “shell” and press enter
- type “passwd” and press enter
- Type the new root password twice here.
- Verify it works by opening the management website again on port 5480 to your vCenter server and log on.
Prevent the root password from expiring again
Change as needed 🙂
Thanks for writing this article. It saved hour of life.
Thanks 🙂
Hallo Martin,
did you get email before password is expiring
At least I do not get any emails on it.
Hi Preetam, yes, you can change it here 🙂
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vcsa.doc/GUID-C63C82F1-D430-4710-8B92-177A79D3DE65.html