Tuesday, December 04, 2012

Resetting forgotten password in RH enterprise Linux version

We have installed the latest version Redhat.Enterprise.Linux.v6.UPDATE.2.X86_64 on one of our servers. Probably the grub prompt time setting is set to 0, so we never see a grub prompt when the computer booted. Numerous posts indicate that one has to set the run level to 1 during boot time to set the kernel settings to single user mode, then just type a password. Howver, in our machine, we could not get that prompt at all.

Yesterday, one of my students, Dhritiman Jana was in the lab and he spent around few hours of his time in solving the issue. Following are his note on how to get to the grub prompt:

1. During boot time tap any key and enter into the grub prompt.
2. Goto kernel entry and press e to edit. After "rhgb quiet" enter "1"
to set the runlevel to single user mode.
3. Press b to boot the edited kernel entry.
4. Reset Password by using #passwd 

Hope this solution works for all!

11 comments:

Sucheta Tripathy PI @ Computational Genomics Group at IICB, Kolkata said...

Thanks!

ganga said...

I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.Block Chain Training in chennai

Block Chain Training in annanagar

Block Chain Training in pune

Block Chain Training in velachery

Unknown said...
This comment has been removed by the author.
Unknown said...

I appreciate that you produced this wonderful article to help us get more knowledge about this topic. I know, it is not an easy task to write such a big article in one day, I've tried that and I've failed. But, here you are, trying the big task and finishing it off and getting good comments and ratings. That is one hell of a job done!
Data Science Training in Chennai | Data Science training in anna nagar
Data Science training in chennai | Data science training in Bangalore
Data Science training in marathahalli | Data Science training in btm

afiah b said...

The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.
java training in jayanagar | java training in electronic city

java training in chennai | java training in USA

sai said...

I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favourites blog site list and will be checking back soon.
python training Course in chennai
python training in Bangalore
Python training institute in kalyan nagar

gowsalya said...

Thanks you for sharing this unique useful information content with us. Really awesome work. keep on blogging
Best Devops Training in pune

Vijiaajith said...

Very interesting
interview-questions/aptitude/permutation-and-combination/how-many-groups-of-6-persons-can-be-formed

tutorials/oracle/oracle-delete

technology/chrome-flags-complete-guide-enhance-browsing-experience/

interview-questions/aptitude/time-and-work/a-alone-can-do-1-4-of-the-work-in-2-days


interview-questions/programming/recursion-and-iteration/integer-a-40-b-35-c-20-d-10-comment-about-the-output-of-the-following-two-statements

shree said...

very nice....
inplant training in chennai
inplant training in chennai for it.php
namibia web hosting
norway web hosting
rwanda web hosting
spain hosting
turkey web hosting
venezuela hosting
vietnam shared web hosting



shri said...

nice....
internship in chennai for ece students
internships in chennai for cse students 2019
Inplant training in chennai
internship for eee students
free internship in chennai
eee internship in chennai
internship for ece students in chennai
inplant training in bangalore for cse
inplant training in bangalore
ccna training in chennai


shree said...

superb...
kyrgyzstan web hosting
lebanon web hosting
lithuania web hosting
macao hosting
madagascar web hosting
pakistan hosting
panama shared web hosting
paraguay web hosting
peru web hosting
philippines hosting