LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2005, 03:10 AM   #1
s_mak
LQ Newbie
 
Registered: Jan 2005
Location: Warangal in India
Distribution: Fedora core 3
Posts: 9

Rep: Reputation: 0
Forgotten root and Administrater's password


Hi,
I have Mandrake linux 9.1 installed on my system with Windows xp professional also installed. I have forgotten both root's and administrator's password. I have been told that there is a procedure to enter the system using/changing root password. Please help me urgently.
 
Old 12-29-2005, 03:17 AM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 50
For changing root password, you can boot into single-user mode with the "single" kernel option; and then change the password with the "passwd" command. See http://linuxgazette.net/107/tomar.html

For changing passwords in Windows, use the Offline NT Password & Registry Editor

Last edited by spooon; 01-02-2006 at 01:46 AM.
 
Old 01-02-2006, 01:39 AM   #3
s_mak
LQ Newbie
 
Registered: Jan 2005
Location: Warangal in India
Distribution: Fedora core 3
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks spooon, your procedure worked. What is the procedure to reactivate KDE as I was using it earlier.
 
Old 01-02-2006, 01:48 AM   #4
BFGeier
LQ Newbie
 
Registered: Dec 2005
Location: Ohio, United States
Distribution: Working on that...
Posts: 13

Rep: Reputation: 0
If I am not mistaken, cause I am a linux newbie as well, just type in "startx".
 
Old 01-09-2006, 02:45 AM   #5
s_mak
LQ Newbie
 
Registered: Jan 2005
Location: Warangal in India
Distribution: Fedora core 3
Posts: 9

Original Poster
Rep: Reputation: 0
Sorry, the procedure doesnot work on my system
 
Old 01-09-2006, 10:49 AM   #6
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
When you say "reactivate", you'll have to be more specific. What exactly is the problem? Do you have a graphical login prompt, but you start in another windows manager? Do you instead get a text-only login screen, and typing 'startx' after you've logged in gives an error message?

In any case, copy-and-pasting the error messages will help enormously with troubleshooting the cause.

Thanks,
Andrzej
 
Old 01-09-2006, 11:19 AM   #7
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
if you have still got a text prompt after changing the password just reboot to get back to normall operation. Type "reboot".
 
Old 01-10-2006, 01:00 PM   #8
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Quote:
Originally Posted by jollyjoice
Type "reboot".
(As root).
 
Old 01-10-2006, 02:01 PM   #9
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
Quote:
Originally Posted by Dtsazza
(As root).
you would be root in single user mode anyway.
 
Old 01-11-2006, 05:06 AM   #10
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Ah yes, I wasn't quite following the thread of execution.
 
Old 01-17-2006, 06:11 AM   #11
s_mak
LQ Newbie
 
Registered: Jan 2005
Location: Warangal in India
Distribution: Fedora core 3
Posts: 9

Original Poster
Rep: Reputation: 0
I was running KDE(Graphical interface) with Mandrake 10.1. Graphic interface card on my system had become loose and I got it fixed. After that I was not getting graphical login on the screen instead i was getting simply login on the black screen. I had forgotten the root password and I got it changed as per spooon's advice.My problem is how to run KDE now. 'startx' is not working.
 
Old 01-17-2006, 07:48 AM   #12
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Okiedokes... define 'not working'. Do you get error messages? Does nothing appear to happen?

Also, check that you're not still booting into Linux using the 'single' parameter, as it may have been inadvertently saved as the default, which you don't want.
 
  


Reply


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
if the root password is forgotten..... AnimaSola Linux - Software 1 05-31-2005 11:12 PM
How to reset forgotten root password comprookie2000 Linux - Newbie 4 10-28-2004 01:33 PM
forgotten my root password, help amanjsingh Linux - Newbie 16 03-31-2004 10:41 PM
Forgotten my root password Blondie Linux - Newbie 2 12-08-2003 12:50 PM
Root Password FORGOTTEN kajensen Linux - Newbie 4 08-11-2003 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:33 AM.

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