If you lost or forgot the root account password, you can reset it.

About this task

If you know the root account password and want to change it due to security or other reasons, see Change the vCloud Usage Meter Root Password.

Procedure

  1. In the vSphere Web Client, restart the guest operating system of the vCloud Usage Meter virtual appliance.
  2. Click the console and wait for the GNU GRUB menu to appear.
  3. In the GNU GRUB menu, use the arrow keys to select SLES 12-SP2 and press the E button.
    Note:

    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 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 following commands in the console:
    mount -o remount,rw / 
    
    passwd
    
  7. Enter a new password and re-enter the same password to confirm the change.
  8. Restart the vCloud Usage Meter appliance by using the vSphere Web Client.

Results

You successfully changed the root account password of the vCloud Usage Meter appliance.