How to Reset Forgotten Root Password in RHEL/CentOS and Fedora

Download all articles in PDF format with our TecMint Content Subscription and Linux Support Services starting at $10 per month.

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

51 Responses

  1. Robert says:

    That was awesome, I followed the same and was able to reset my CentOS password which had stayed blocked for close to a week

  2. Eric says:

    Thanks!!!

  3. Peter Asane says:

    Wow!!, thats awesome, I was able to reset my REDHAT 5.5 password by following your tutorial. I am soo happy. Thank you very much and keep it up.

  4. Aaron says:

    Exllcellent write up helped me out grately thank you

  5. Dave w says:

    I was locked out of centos 6.6 as I had lost my password details by following your easy step recovery procedure I was able to create another password. Thankyou for this very useful information.

  6. Hector Rivera says:

    Accidentaly i changed the owner root to oroot in the password file at /etc/passwd.
    When u tired to logon the system said that root doesn’t exist. How can i change back user oroot to root in the passwd file?

    Thanks

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 77,543
  2. 4,213
  3. 35,218

Enter your email to get latest Linux Howto's