Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-01-2006, 12:08 AM   #1
LQ Newbie
Registered: Feb 2005
Location: Mumbai
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
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?.
Old 02-01-2006, 12:24 AM   #2
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
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
Old 02-09-2007, 02:48 AM   #3
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
plz give me any sejassion

How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password
Old 02-09-2007, 04:56 AM   #4
Registered: Jan 2007
Location: Valbonne, France
Distribution: Mandriva 2008 (Free)
Posts: 135

Rep: Reputation: 15
I hope this helps..

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.
Old 05-08-2008, 04:11 AM   #5
LQ Newbie
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
forgot root password:- Suse Linux 10.00 boxerdes SUSE / openSUSE 1 01-18-2006 02:25 PM
Forgot root password for Redhat Enterprise linux geordzilla Linux - Newbie 6 12-20-2005 01:43 AM
Forgot root password Action Linux - Newbie 1 07-07-2005 07:09 PM
Forgot root password Jay Smith Linux - Newbie 15 10-12-2004 06:23 PM
forgot root password juno Linux - General 7 05-11-2003 08:05 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration