VMware Skyline: Reset Root or Admin credentials

Reset Root Password

To reset the root password:

Restart the Skyline appliance.
From the Console screen of the appliance when you see the PhotonOS splash screen press "e".
At the end of the PhotonOS boot command add "rw init=/bin/bash"
Press F10 to access to the command prompt
Type "passwd" to set the root password
Type "reboot -f" to reboot the appliance

Unlock root account

To reset the root password:

Restart the Skyline appliance.
From the Console screen of the appliance when you see the PhotonOS splash screen press "e".
At the end of the PhotonOS boot command add "rw init=/bin/bash"
Press F10 to access to the command prompt

pam_tally2
pam_tally2 --reset

Type "reboot -f" to reboot the appliance

VMware KB: https://kb.vmware.com/s/article/52652