Root Password Reset
- Go to edit mode in boot. Linux Starting Modes
- In “linux” line, change
rowithrw rd.break- In
switch_rootprompt, entermountand check the rhel-root mount point (which should be /sysroot)- Re-mount with
mount -o remount,rw /sysrootif not rw- chroot /sysroot
- passwd
This will only work if there is no GRUB password
Link to original