- Login to the vCenter/vSphere UI and find the SDDC Manager VM.
- Once you click on the SDDC Manager VM, under the IP address should be the host FQDN for which ESXi the VM is sitting on.
- Open a new tab and paste the ESXi host FQDN into your browser and login to the host UI via root.
- Click on Virtual Machines, then click on the SDDC Manager VM > Edit > VM Options > Boot Options
- Set the Boot Delay to 10000 milliseconds.
- Open the VM console and On the right-hand side of the console should be a button that says Actions. Click on Actions > Power > Reset.
- When you see the Photon screen, hit the 'e' key to get into the GRUB.
- Use the arrow keys to navigate to the line beginning with linux and add the following to the end of the line
- Press the F10 key to continue booting the VM.
- Run the following commands to unlock the vcf and root accounts:
- For VCF versions up to VCF 5.0.0.1, use :
- For VCF versions starting from VCF 5.1.0.0, use:
- Note: If there are any failures, you will need to use the up arrow key to re-run the command until the failures column shows 0.
- Run the following commands to set the accounts to a temporary password:
- Then reboot SDDC by running the following:
- After a few minutes, SSH into the SDDC Manager with the vcf user and temp password and then su root and enter the temp password for root.
- Then run the following command to clear the passwords:
- Now we can reset the accounts to new passwords or a password previously used by using commands mentioned in Step # 11
Note: Make a note of what the vcf and root passwords were changed to.
16. Here is the below command to change the age of the VCF and Root
VCF : chage -M 999 vcf
Root : chage -M 999 root