How to change a forgotten or lost root password

Solution Verified - Updated -


  • 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


  • Red Hat Enterprise Linux (All version)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In