Power on vSphere replication appliance. When the Photon OS splash screen appears, press 'e' to enter GNU GRUB edit menu
Note: The Photon OS splash screen only appears very briefly, so be quick about it. It is better to use VMware Remote Console rather than the Web Console
In the GNU GRUB edit menu, go to the end of the line that starts with linux, add a space and typerw init=/bin/bash. After adding these values, GNU GRUB edit menu should look exactly like this:
For 8.4 the screen will look different
VLSR9.X
init=/bin/bash
Press the F10 key to boot and at the bash command prompt mount the root partition
mount -o remount, rw /
Enter passwd then enterto change the password
passwd
New password: <enter new password>
Retype new password: <repeat password>
passwd: password updated successfully
Note : The above will change only root password, if you need to change admin password need to perform additional steps as below
passwd admin
New password: <enter new password>
Retype new password: <repeat password>
passwd: password updated successfully
If admin account password is locked, VAMI page for appliance will fail to login,
For product version 8.8 and above you will check and clear the lock with the following command