Reset Virtual Appliance Root Password 

Follow the steps below to reset the PowerChute virtual appliance (AlmaLinux) root password:

 

  1. Open the VMware console:

  2. Reboot the virtual appliance:

  3. Press "e" during the boot process on the grub menu to enter the grub editor:

  4. Use the arrow keys to move to the end of the line that starts with “linux” and add the following at the end of the line: “rd.break enforcing=0”:

  5. Press Ctrl + X to boot to emergency mode.

  6. Mount the /sysroot directory with read and write permissions with the command “mount -o rw,remount /sysroot”:

  7. Change the directory environment to /sysroot:

  8. Use the command “passwd root” to set a new password for the root user:

    Note: The password must be at least 14 characters long.

  9. Exit sysroot by typing the command “exit” and make the file system read-only again by typing the command “mount -o ro,remount /sysroot”:

  10. Exit emergency mode and reboot the appliance.

  11. Login using the new root password.