Follow the steps below to reset the PowerChute virtual appliance (AlmaLinux) root password:
Open the VMware console:
Reboot the virtual appliance:

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

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”:

Press Ctrl + X to boot to emergency mode.
Mount the /sysroot directory with read and write permissions with the command “mount -o rw,remount /sysroot”:

Change the directory environment to /sysroot:

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

Note: The password must be at least 14 characters long.
Exit sysroot by typing the command “exit” and make the file system read-only again by typing the command “mount -o ro,remount /sysroot”:

Exit emergency mode and reboot the appliance.
Login using the new root password.