How To Reset Linux Root Forgotten Passwords Get Retrieve Root Password
Post Description:
Post Tags: how, to, reset, linux, root, forgotten, passwords, get, retrieve, root, password
This Post Has Been Viewed 34796 Times Since Wed Mar 14, 2007 12:22 pm Posted By hostman with 19 replies
| How To Reset Linux Root Forgotten Passwords Get Retrieve Root Password |
|
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:
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
Who's Your Daddy!
Leave Your Comments [ dejar commentarios ]
Comments and replies About How To Reset Linux Root Forgotten Passwords Get Retrieve Root Password
:: 1 :: #1258 - Reply By krishna On Wed Apr 04, 2007 10:56 pm
In GRUB it protected by password, i am not getting or e or c here p is displaying when i press p it is highlighting password how to retrieve password
krishna
:: 2 :: #27808 - Reply By rashad benton On Thu Nov 15, 2007 7:30 am
i forgot my password
:: 3 :: #32464 - Reply By maxmat On Fri Dec 21, 2007 6:11 am
hi dudes,
simply boot on a cdrom or a floppy, you'll be root and have all rights on local fs, you can use chroot or anything you want to reset the password.
tchuss
:: 4 :: #33340 - Reply By surendra On Fri Dec 28, 2007 7:57 am
i want recover root password in suse 10 enterprise linux.
please send me step by step details if possible send graphical screen just like u shown in redhat
:: 5 :: #34089 - Reply By fire55 On Wed Jan 02, 2008 2:33 am
hey, i'm trying to learn how to hack a ubuntu login password i have the user name but just trying to get the password, i've herd you can brute force it and also make a disc with a program on it the steals all passwords its the computer i'm on now just a different user...any ideas on web pages or anyone able to teach me a few things, much thanks.
:: 6 :: #37091 - Reply By power On Sat Jan 19, 2008 2:12 am
ubuntu knoppix knopix linux change sudo mysql breezy debian reset unix ssh freebsd root user password su create ubunto suse root default password aix mysqladmin kubuntu sun fedora set redhat samba changing mysql change mysql set recover mysql reset recovery how to change resetting default ubuntu ubuntu live cd mac change linux osx forgotten lost os x mysql default linux recovery mysql forgot kanotix how to reset ubuntu 5.10 cambiar password root recover mysql wallpaperama lost mysql changing mysql linux lost setting mysql ubuntu set kubuntu default mysql recovery browser appliance crack hack ändern reset linux resetting mysql no how to change mysql mac os how to reset the mac osx linux recover suse 10 forgot linux unbuntu restore on mac in mysql recover lost vmware browser appliance grub suse linux knoppix 4.0 ubuntu install centos suse change mysql wallpaperama windows forgot my ubuntu live default password for root ubuntu virtual appliance lost mac os x unix change debian mysql expired debian forgot livecd set mepis change ubuntu reset in mysql reset the set a password for the mysql root user mac os x default cups debian reset cambiare la password di root change in ubuntu change command changing in linux macosx linux set cambiar password root ubuntu give for login root change user password cambiare password di root ubuntu 5.10 default ubuntu vmware set for mysql forgot in linux of linux reset suse change the forgot suse redhat linux fedora reset ubuntu lost osx default crack linux knoppix live cd recover suse change mac reset mac os x freebsd recovery mysql mysqladmin fedora default ubuntu standard vmware player change freebsd knoppix 5 hmc single user set password for root localhost old_password what is the ubuntu breezy recover the mysql forgotten change os x for maintenance usr bin mysqladmin u snmp videolinux cambio password root ubuntu sudo lost debian password root persa in mac os x mysql ändern you are required to change your password immediately root enforced breezy badger dsl default finding mysqladmin u root p password recuperare password root mysql user suse default osx set nslu2 mac os x change expire setting for mysql brocade openbsd gnome mysql setup ubuntu log darwin ลืม password root change fedora gentoo live gentoo 2006.0 livecd unslung cracking kubuntu live cd reset mysql windows aix lost pclinuxos change mysqladmin wallpaperama change in suse for mac os x login as root crack linux root login root disable root login how to login as root root key ubuntu root login kde root login enable root login invalid root in registry key ubuntu login as reset boot disk no root login
:: 7 :: #38179 - Reply By Vivek Rai On Fri Jan 25, 2008 4:29 pm
how i reset the root password if on grub password i forgott both password.
there is no rescue disk.
please tell me how.
:: 8 :: #38877 - Reply By DM.Ilayaraja On Wed Jan 30, 2008 5:28 am
hi,
now i am using cent os 4.4 server, i forget my supper user password.
how to change my supper user password?
regards,
ilayaraja.
:: 9 :: #43568 - Reply By Arunachalam On Fri Feb 29, 2008 5:05 am
hi !..
ofcourse it is a nice work..
:: 10 :: #44098 - Reply By vijay suresh suryawanshi On Mon Mar 03, 2008 10:46 pm
please give the information about gnome & kde
:: 11 :: #48520 - Reply By Nagaraju J On Thu Apr 03, 2008 8:45 pm
thank you very much, the problem has been solved with the above steps
:: 12 :: #49879 - Reply By Cooldude On Sun Apr 13, 2008 1:54 am
good job mate, this worked to the max
:: 13 :: #50483 - Reply By Sachin Sant On Thu Apr 17, 2008 2:02 am
yes,
it worked withour linux bootable cd & in easy steps.
thanks for the same.
sachin sant
:: 14 :: #54316 - Reply By danny On Sun May 18, 2008 10:15 pm
just wanted to stop and say thank you for this. i had installed linux on an older machine i have for a class i am taking. i had done this late one night on a cram session and when i went back to it a few days later the password (i use the same one for lots of things) just wouldn't work. needless to say i still needed to do my honework and was in panic....until i found your site!! worked wonderfully!! thank you thank you!!!!
:: 15 :: #61624 - Reply By Lingaraj On Sun Jul 13, 2008 10:43 pm
hi dude
its cooooool
thnaks buddy, i got my password back
:: 16 :: #62865 - Reply By javier On Tue Jul 22, 2008 11:15 am
quiero saber como resetear my clave secreta de system de linux en my servidor o computadora por pafor.
:: 17 :: #65066 - Reply By wetix On Tue Aug 05, 2008 11:42 pm
well. this only work if the system dosenot have to do fsck. that is the problem am having now, how do i get pass this?
help needed
:: 18 :: #66207 - Reply By ankur!@v2web.biz On Wed Aug 13, 2008 1:06 am
this is very bad artical i was asking reset mysql password
:: 19 :: #67364 - Reply By Russell On Wed Aug 20, 2008 6:48 am
i walked through the steps you outlined and everything when as planned. until it started booting in single mode. it asked me to "...enter the root password for maintenance for control-d to continue."
did i do something wrong?