As I was going through the process of updating my VCSA from 6.5 to 6.7, I ran into the issue of my VSCA root password being expired. After a couple of minutes of research, this was the final solution.
- Log into the VCSA website http://yourVCSA:5480
- When prompted, type in root and the root password (it should work, even if expired)
- Note: Even though there is an option here to change your root password, it doesn’t seem to work when the root password is expired.
- Go to troubleshooting options and enable BASH and enable SSH
- Connect to your VCSA using SSH – logging on with root and your expired password.
- Type “shell” and press enter
- Once you are at a bash, type “passwd” and press Enter
- If you want to keep your current root password, just enter it twice here.
- If you want to use a new root password, enter it twice here.
- Verify it works by opening the vCenter management website via port 5480 and logging on.
How to prevent the root password from expiring again:
- To prevent the root password from expiring again, log onto the vCenter management website via port 5480, go to the Administration menu, and change the password settings here.
- If you use a long and complex password, there is no reason to automatically expire it.