If you lost or forgot the root account password, you can reset it.
If you know the root account password and want to change it due to security or other reasons, see How do I change the root password.
- In the vSphere Web Client, restart the guest operating system of the vCloud Usage Meter appliance.
- Click the console and wait for the Photon screen to appear.
- Press e to go to the GNU GRUB boot menu editor.
The GNU GRUB menu remains on the screen for several seconds before it starts the boot sequence.
- Use the arrow keys to go to the line that begins with
linuxand append the
rw init=/bin/bashstring at the end of the line.
- To boot the system, press Ctrl+X or F10.
- To reset the root account password, enter the passwd commands in the console.
- Enter a new password, then reenter the same password to confirm the change.
Note: The passwords for all user accounts must meet the following requirements.
- Passwords must be at least six characters long.
- Passwords must contain at least one numeral from 0 to 9.
- Passwords must contain at least one lowercase letter.
- Passwords must contain at least one uppercase letter.
- Passwords must contain at least one special character.
- Restart the vCloud Usage Meter appliance by using the vSphere Web Client.
You successfully changed the root account password of the vCloud Usage Meter appliance.