This article explains how to reset the root password in Cloud proxy.
VMware Cloud Proxy 8.x
VCF Cloud Proxy 9.x
1. Restart the Cloud proxy VM from vCenter.
2. When the Photon OS splash screen appears as it restarts, type the letter "e" to go to the GNU GRUB edit menu quickly.
3. In the GNU GRUB edit menu, go to the end of the line that starts with linux, add a space, and then add the following code exactly as it appears below:
rw init=/bin/bash・before : linux "/"$photon_linux ... $photon_cmd\line・after : linux "/"$photon_linux ... $photon_cmd\line rw init=/bin/bash
4. Press F10. If you are using a laptop, please press Shift key and press F10
5. Type mount -o remount,rw /
6. Type passwd and then press Enter Key. Enter a new password and re-enter the new root password.
7. Type umount /
8. Finally, type reboot -f. You must include the -f option to force a reboot. Otherwise, the kernel enters a state of panic.