On Red Hat I forgot my administrator password and would like to reset it. However, if I boot with GRUB `rd.break`, then I face the attached interfaced where <kbd>enter</kbd> leads to the usual user login prompt.
Apr 29, 1:33am
On Red Hat-based systems (like RHEL, CentOS, or Fedora), using rd.break in GRUB is the correct first step to reset a forgotten root password. However, if pressing <kbd>Enter</kbd> after adding rd.break only brings you back to the normal login prompt, it usually means the system did not actually drop you into the emergency shell as expected.
Here’s how to properly reset the root password using rd.break:
Step-by-Step: Reset Root Password with rd.break
1. Interrupt GRUB at Boot
Restart your system.
As soon as the GRUB menu appears, press <kbd>e</kbd> to edit the boot entry.
2. Edit the Kernel Line
Find the line starting with linux or linux16 or linuxefi.
Append rd.break to the end of this line.
Remove rhgb and quiet if present (to see the boot process).