Reset root password vCenter Server Appliance 6.0

Forgot root password to vCenter Appliance 6.0
Most of the Cases –
  • Gets Expired by default.
  • Locked out by Wrong Attempts
Lets see how to change the root password –
  • Reboot the vCSA 6.0 using the vSphere Client.
  • When the GRUB boot loader appears, press the spacebar to disable auto boot.
  • Press P to Enter Edit Mode
image
image
If the vCSA was deployed without editing the root password in the Virtual Appliance Management Interface (VAMI), the default GRUB password is vmware.
If the vCSA root password was reset using the VAMI, then the GRUB password is the password last set in the VAMI for the root account.
Choose the Second One.  kernel /…
image
Type e to edit the boot command.
Append
init=/bin/bash
to the kernel boot options.
image
  • Press Enter. The GRUB menu reappears.
  • Type b to start the boot process. The system boots to a shell.
  • Reset the root password by running below command.
    passwd root
image
image
Restart the appliance by running the reboot command.
Set Password Never Expires – 
Login to Appliance
https://vCEnter:5480
image

Comments

Popular posts from this blog

Avamar falied to take backup of all virtual machine

How to Configure IPsec VPN within VMware NSX Edge

Deploy a 2-node vSAN cluster