i haveAlmalinux with whm installed, i had to have ovh ship the drive back to me as it wasnt working on their server, it loads fine on mine, however when i enter grub by pressing e, and adding either rd.break enforcing=0 or rd.break or single user or rw init=/sysroot/bin/bash, then press ctrl x it just open the page asking me for root password again
I dunno if there’s another way (though ostensibly this security feature is at least designed not to have one), but the way I would get around this problem is by using a rescue disk that lets me mount whatever filesystem /etc/
is on and either chroot
into it and run passwd
or edit /etc/shadow
directly and paste in a new hash for the root
user.