LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? (https://www.linuxquestions.org/questions/linux-software-2/how-to-retrieve-or-reset-root-password-in-mandrake-linux-as-i-forgot-my-password-410268/)

Reghunath 02-01-2006 12:08 AM

How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password?
 
I had installed Mandrake Linux 10.1, in a system, and left it for a long time. Now, I can't remember the root password, I need to upgrade some packages. How can I easily retrieve my root password, without reinstalling Mandrake?, Is there any option by going through Failsafe mode?.

amosf 02-01-2006 12:24 AM

Yeah, start in runlevel 1 or single user mode and reset the password from there... If you use lilo that means starting with something like

linux 1

With grub. I dunno :)

naveen_kumar007 02-09-2007 02:48 AM

plz give me any sejassion
 
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password

mkhan919 02-09-2007 04:56 AM

I hope this helps..



http://linuxgazette.net/107/tomar.html



Booting into single-user mode from LILO

Follow these steps to reset the password when using LILO:

* Reboot the system. When you see the LILO: prompt (see Fig. 1 below), type in linux single and press 'Enter'. This will log you in as root in single-user mode. If your system requires you to enter your root password to log in, then try linux init=/bin/bash instead.
* Once the system finishes booting, you will be logged in as root in single-user mode. Use passwd and choose a new password for root.
* Type reboot to reboot the system and then you can login with the new password you just selected.

BrijeshBalan 05-08-2008 04:11 AM

Please make use use of the following URL to know how to reset root password if you are using grub boot loader instead of LILO.

<http://kb.bobcares.com/kb/?View=entry&EntryID=15>


All times are GMT -5. The time now is 03:38 AM.