In vCloud Usage Meter, 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 Change the Root Password in vCloud Usage Meter.

Procedure

  1. In the vSphere Web Client, restart the guest operating system of the vCloud Usage Meter appliance.
  2. Click the console and wait for the Photon screen to appear.
  3. 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.
  4. Use the arrow keys to go to the line that begins with linux and append the rw init=/bin/bash string at the end of the line.
  5. To boot the system, press Ctrl+X or F10.
  6. To reset the root account password, enter the passwd commands in the console.
  7. To confirm the change, enter a new password, then reenter the same password.
    Note: All passwords must meet a set of password requirements. For more information, see Password Requirements for the vCloud Usage Meter User Accounts.
  8. Restart the vCloud Usage Meter appliance by using the vSphere Web Client.