This article explains how to reset the root password in Cloud proxy.
VMware Cloud Proxy 8.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 "passwd
" and then type (and re-enter) a new root password.
6. Type "umount /
"
7. Finally, type "reboot -f
". You must include the "-f
" option to force a reboot. Otherwise, the kernel enters a state of panic.