You can reset the root password of any (recent) VMWare appliance, such as the vCenter Server Appliance (VCSA), or Platform Services Controller (PSC) by following the procedure outlined here. Note that you will need to have physical or console access to perform the reset. The reset also requires a restart of the appliance so you'll need to schedule downtime for it.
First of, take a snapshot or backup of the virtual appliance before proceeding. In case the reset should fail, you'll always have a backup to go back to.
Restart the appliance. Right after the BIOS screen, the PhotonOS splash screen will appear for a few seconds.
During this time, press e to enter the GNU GRUB edit menu, allowin ...
You can disable password expiration from the command-line when logging on using SSH or by enabling the Bash shell. Note that you will need root privileges (i.e. root account) to make this change.
If shell access is not enabled, you need to enable it first:
Log on to the appliance management portal: https://ip-or-fqdn:5480/.
In the Navigator, click on Access. On the right side (Access Settings), click on the Edit button.
Tick the box next to Enable SSH Login for remote access, or if you rather prefer making the change through the VMRC, check the box Enable BASH Shell. Then click OK. The change is effective immediately.
Log on to the shell using either SSH (using PuTTY or another applicat ...