How to change a forgotten or lost root password

Solution Verified - Updated -

Issue

  • The root password was forgotten, and the system cannot be logged into
  • How to reset a root password
  • Unable to gain root access to a system
  • The root password changed

Environment

  • Red Hat Enterprise Linux (All version)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content