---

RHEL 7 / CentOS 7 : Recovering / Reset Root Password

Setting up the root password is a mandatory part of the Red Hat Enterprise Linux 7 / CentOS 7installation.

If you forget or lose your password, it is possible to reset it.

Note: In GRUB 2, resetting the password is no longer performed in single-user mode as it was in GRUB included in Red Hat Enterprise Linux 6. The root password is now required to operate in single-user mode as well as in emergency mode.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis