How To Reset Linux Root Forgotten Passwords Get Retrieve Root Password
Posted On Wed Mar 14, 2007 By hostman In Linux wallpaper Hosting forums topics about gallery sites in linux systems Forums
The other day, i inherited a server which was admin by another company. Now i am expected to login into the linux server and make some changes and update some stuff, but the problem is that the previous admin person did not give me the root password for the server. So today, i found a way on how to retrieve the root password from a linus server.
DISCLAIMER: By you continuing to read this how to guide, you are in agreement that you have permission to access your linux server. Use this information at your own risk, I take no liability for any contents of this post. this information should only be used to recover passwords from machines you have legal access to. If you use this informationt obreak or hack into someone else's systems, then I am not responsible for it. Also, you are advised to make any backups of your system before continuiing.
please note that you cannot perform this remotely, you must be physically at the machine.
1. the first step is to reboot server.
2. Since the server i inherit has GRUB, wait until the grub splash screen comes on and hit the letter 'e' on your keyboard. this will stop grub.

3. hit 'e' again and this will take you to another screen
4. you should see one of the choices has "kernel" select the one with "kernel
5. hit 'e' on your keyboard
6. type ' single' (make sure to include a space before "single") and hit enter. then enter 'b' to boot.
7. your system should boot up in single mode as root
8. now that you are logged in single mode you can chage the root password by sending this command:
9. after you have changed the root password, reboot server and you should be able to login with the new password.
DONE
LILO ----------------------------
1. If you have LILO, its different, fist reboot server and when you see the LILO: prompt type "linux single" and hit enter. this will log you in as root in single user mode.
2. Once booting is complete, you can change your password with this command:
DONE
i hope that works for you
DISCLAIMER: By you continuing to read this how to guide, you are in agreement that you have permission to access your linux server. Use this information at your own risk, I take no liability for any contents of this post. this information should only be used to recover passwords from machines you have legal access to. If you use this informationt obreak or hack into someone else's systems, then I am not responsible for it. Also, you are advised to make any backups of your system before continuiing.
please note that you cannot perform this remotely, you must be physically at the machine.
1. the first step is to reboot server.
2. Since the server i inherit has GRUB, wait until the grub splash screen comes on and hit the letter 'e' on your keyboard. this will stop grub.

3. hit 'e' again and this will take you to another screen
4. you should see one of the choices has "kernel" select the one with "kernel
5. hit 'e' on your keyboard
6. type ' single' (make sure to include a space before "single") and hit enter. then enter 'b' to boot.
7. your system should boot up in single mode as root
8. now that you are logged in single mode you can chage the root password by sending this command:
CODE:
passwd
9. after you have changed the root password, reboot server and you should be able to login with the new password.
DONE
LILO ----------------------------
1. If you have LILO, its different, fist reboot server and when you see the LILO: prompt type "linux single" and hit enter. this will log you in as root in single user mode.
2. Once booting is complete, you can change your password with this command:
CODE:
passwd
and reboot server.DONE
i hope that works for you
Ashok Tue May 01, 2012
Thanks you, it worked fine
shrishail Tue Apr 17, 2012
thanka it's working
Afaaro Thu Mar 15, 2012
Thank you so much
Tabish Tue Feb 28, 2012
Nice one :) Please tell us the counter-measure for this hack :)
Thank you :)
Thank you :)
Shaheed Fri Feb 17, 2012
Thank you so much... It worked
Tuwi Fri Feb 17, 2012
Epic, it made my day
jonas Fri Dec 30, 2011
thanks..its really help me much gold
Sudheep Wed Sep 28, 2011
Thanks....Helped me.
Nhexia Sun Sep 25, 2011
Woot! thanks a lot! my server stock 2 years and now i forgot my password.. the i search for this... and its run great! thanks!
Rohit Sat Sep 24, 2011
That is very nice!!
but i want to know about other linux like mint ubuntu fedora open solaris etc plz tell me
but i want to know about other linux like mint ubuntu fedora open solaris etc plz tell me
root Wed Aug 17, 2011
really great..... now its eazy to crack root passwords.......
Yagesh Sat Jun 11, 2011
thanks , password has change through these step
M0rgi0n999 Thu Dec 16, 2010
works like a charm for me...
paul Fri Jun 18, 2010
Doesn't work for me, change kernal boot setting to 'single' and still asking for user/pwd after started up. any idea why?
mike Sun Sep 13, 2009
is there not just a simple way someone who knows nothing and recovery the root passwd ? am not thick well am by your standrds but know my around xp but this??? not a hope is there just something easier to get root passwd? mike
Related Content
Information
Forums »
Linux wallpaper Hosting forums topics about gallery sites in linux systems »
How To Reset Linux Root Forgotten Passwords Get Retrieve Root Password
Linux wallpaper Hosting forums topics about gallery sites in linux systems »
How To Reset Linux Root Forgotten Passwords Get Retrieve Root Password
Title: How To Reset Linux Root Forgotten Passwords Get Retrieve Root Password
Description: this tutorial guide will show you step by step with pictures and images on how to reset your root password in linux if you have forgotten. resetting is easy just follow as its showing you how to retrieve your system admin password through the command
Tags: linux , root ,password , reset , redhat , centos , os , unix , forgotten , passwords , forgot , retrieve , server , command , guide , tutorial
Info: This Post Has Been Viewed 0 Times Since
Date: Wed Mar 14, 2007
Author hostman Received 49 Replies #420
Date: Wed Mar 14, 2007
Author hostman Received 49 Replies #420
Share
URL: 

Embed: 

To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it
BBCODE:: 

BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
wallpaperama | Wallpapers | Forums | Terms Of Service
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5