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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.