LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-10-2004, 11:43 AM   #1
Jay Smith
Member
 
Registered: Aug 2004
Distribution: Mandrakelinux 10, KDE desktop
Posts: 38

Rep: Reputation: 15
Forgot root password


I forgot my root password. Mandrakelinux 10.

I searched the forums but it's all stuff about at boot type stuff. I boot using a graphical bootloader and I can't type anything in at booting.

Any relatively easy way of reseting or finding the root password apart from the obvious reinstalling?
 
Old 10-10-2004, 11:47 AM   #2
pauloref
Member
 
Registered: Sep 2004
Location: Italy, between milano and varese
Distribution: gentoo from stage3 with 2.6.7 development kernel
Posts: 55

Rep: Reputation: 15
I am much sorry, but i must tell you you are DOOMED. ALWAYS ALWAYS remember your root pasword. I never forgot it, and i realy think the only way is reinstalling or restoring. I think you can restore your root password with the CDs. I am not shure.
 
Old 10-10-2004, 12:17 PM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
No solution for you. But do you have a normal user account? From your post I understand you only have a root account? That's not a good idea cause you'll be majorly screwed if you catch a virus or are hacked cause they have full permissions.
 
Old 10-10-2004, 12:17 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hi there,

i don't think it's a good idea to put a "howto remove passwords " on this forum.


egag
 
Old 10-10-2004, 12:20 PM   #5
Jay Smith
Member
 
Registered: Aug 2004
Distribution: Mandrakelinux 10, KDE desktop
Posts: 38

Original Poster
Rep: Reputation: 15
I have a normal user account. I forgot my root password.
 
Old 10-10-2004, 12:26 PM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Quote:
Originally posted by Jay Smith
I have a normal user account. I forgot my root password.
Good I was just wondering about you saying you couldn't type anything at boot in your graphical login. Like you had no normal account

BTW try some googling this one might help but there are a lot of hits:
http://www.linuxgazette.com/node/view/8834
 
Old 10-10-2004, 01:33 PM   #7
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Quote:
I searched the forums but it's all stuff about at boot type stuff. I boot using a graphical bootloader and I can't type anything in at booting.
You need a boot disk or the install cd to boot into "single user mode" and make any corrections necessary.
This thread will point you in the right direction:
http://www.linuxquestions.org/questi...+root+password

As far as giving out this kind of info, if a person has physical access to the computer, then there is not alot anyone can do about it. Pysical access = owned. Yes there are things that can and should be done to secure your box. You know your system better than anyone else. Take the appropriate action(s)
 
Old 10-10-2004, 04:53 PM   #8
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
john the ripper
 
Old 10-12-2004, 01:37 PM   #9
Jay Smith
Member
 
Registered: Aug 2004
Distribution: Mandrakelinux 10, KDE desktop
Posts: 38

Original Poster
Rep: Reputation: 15
No help. At startup, i highlighted linux and typed e, nothing happened.

you say "Pysical access = owned" but the link had no information for me.

Thank you for trying however.
 
Old 10-12-2004, 03:50 PM   #10
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Hey, as a last resort he could always reinstall from the Mandrake CDs, and choose NOT to format the partition where /home is mounted (i.e. format only the root partition). This will leave all the personal files intact - you'll have to reinstall any software you subsequently installed though.
 
Old 10-12-2004, 03:57 PM   #11
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
If you are using GRUB, boot and hit escape at the graphical boot screen, it will take you to a shell, type in singleuser and boot. Hopefully you didn't password protect GRUB with the forgotten password.

linux_terror
 
Old 10-12-2004, 04:01 PM   #12
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
It's Mandrake so it'll be Lilo.
 
Old 10-12-2004, 04:24 PM   #13
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Little question, from the above 2 posts my conclusion is the best protection for your root password is using the same one for lilo/grub?
 
Old 10-12-2004, 04:30 PM   #14
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
I'd say use a different one. But I don't have one. I'd totally forget it.
 
Old 10-12-2004, 05:00 PM   #15
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
mandrake has grub too
 
  


Reply



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 muru Linux - Security 5 09-26-2005 12:37 AM
forgot root password ali_hammad Linux - Newbie 3 03-09-2005 10:46 AM
forgot root password ali_hammad Linux - Security 4 03-08-2005 02:44 PM
Forgot Root Password Ironpaws Linux - Software 6 07-03-2004 04:48 PM
I Forgot my root password Hamid Moradmand Linux - Distributions 4 06-02-2004 01:45 PM

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

All times are GMT -5. The time now is 05:04 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
Open Source Consulting | Domain Registration