In our previous posts we have seen on how to Deploy vCenter Server Appliance 6.5. VCSA 6.5 is based on the VMware’s customized photon Operating system. When we install the VCSA 6.5 we need to set the root password for the VCSA but sometimes it happens that we forgot the password of the root user. root user password is very important because with root user only we can manage the vCenter Server Appliance from Console & from the Web browser. So if you forgot your root password then this post is for you on how to reset the root password.
Let’s see how we can easily reset the root password of vCenter Server Appliance 6.5:
Take the Snapshot,Clone or backup of your VCSA 6.5 for the safety purpose. So if something goes wrong you can revert to your original state.
Reboot the vCenter Server Appliance.
When the below screen comes press “e” to enter to GRUB. (GRUB is an Grand Unified Boot Loader)
Enter the below value after “consoleblank=0”
Press F10 to boot the system.
First we will reset the password of the root user.
To reset the password type “passwd”.
You will have to type the password twice to confirm.
Now we will unmount the file system using command “umount /”. Don’t worry this will not delete or remove any files.
We have to reboot the VCSA 6.5 to save the changes.
Type “Reboot -f” to reboot the VCSA 6.5.
That’s it now you can successfully login to your VCSA 6.5 console using the new password. In future if you forgot the password you can follow same steps to reset the password of VCSA 6.5.
Checkout Our Posts on vSphere 6.5:
Checkout Our Posts on vSphere 6.5 Upgrade Series:
That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.