Reset root password on vCenter 7.x
From Notes_Wiki
Revision as of 06:20, 15 October 2022 by Saurabh (talk | contribs) (Created page with "Home > VMWare platform > VMWare vCenter > Reset root password on vCenter 7.x To reset forgotten root password for vCenter 7.x use: # If "administrator@vsphere.local" login is working and only root passwords needs to be reset then we can get vCenter VM console from vCenter itself. ## If administrator@vsphere.local password is also not known then Login into ESXi host where vCenter VM is present. ##: If there are multiple hosts we need to login in...")
Home > VMWare platform > VMWare vCenter > Reset root password on vCenter 7.x
To reset forgotten root password for vCenter 7.x use:
- If "administrator@vsphere.local" login is working and only root passwords needs to be reset then we can get vCenter VM console from vCenter itself.
- If administrator@vsphere.local password is also not known then Login into ESXi host where vCenter VM is present.
- If there are multiple hosts we need to login into them manually to see which host has vCenter VM
- If administrator@vsphere.local password is also not known then Login into ESXi host where vCenter VM is present.
- Reboot the VM (Restart guest OS - Graceful restart) and press 'e' key during reboot
- In grub edit the boot entry start with word linux and append ' rw init=/bin/bash'
- Press F10 after editing to continue boot
- Remount the / with rw using:
- mount -o remount,rw /
- Reset root passwd using
- passwd
- Umount and reboot using:
- umount /
- shutdown -r now #Or reboot -f
- After reboot try root login into vCenter.
- Optionally Disable root password expiry on vCenter
Refer:
Home > VMWare platform > VMWare vCenter > Reset root password on vCenter 7.x