LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-14-2004, 12:41 PM   #1
kengouk
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
Forgot Root PW, How do I find it or unistall Linux Mandrake?


Hello Everyone, I have never used Linux before and like a complete fool I put down a user name and P/W then completely forgot what it was! LOL yer I know! Anyway is there anyway I can retrieve my root password or how do I reinstall linux so that I can reinstall it and put down a user-name and password I can remember
 
Old 06-14-2004, 12:47 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

It depends on what bootloader you are using - you need to append " single" to your kernel arguments at boot - for grub:
1) Reboot your computer.
2) When the grub bootloader appears on the screen select the entry for your linux system - it may be the only one.
3) Press the "e" key to edit the entry.
4) Select the line beggining with "kernel".
5) Press the "e" key again
6) Type " single" no quotes
7) Press enter
8) Press "b" to boot
9) When the prompt appears type "passwd" press enter
10) Enter a new password when prompted
11) Reboot by typing "shutdown -r now"
 
Old 06-14-2004, 01:47 PM   #3
The Jedi
LQ Newbie
 
Registered: Jan 2004
Location: Greece
Distribution: Red Hat 9, SuSE 10
Posts: 14

Rep: Reputation: 0
Does this procedure apply for Red Hat 9as well?
 
Old 06-14-2004, 02:08 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Those instructions are OS/distro agnostic - so "yes".
 
Old 06-14-2004, 02:39 PM   #5
kengouk
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
k have 3 options for loading linux

1) linux
2) linux secure
3) failsafe

I tried "When the grub bootloader appears on the screen select the entry for your linux system - it may be the only one.3) Press the "e" key to edit the entry."

but nothing happens! How do I find out what grub I have?

Last edited by kengouk; 06-14-2004 at 03:04 PM.
 
Old 06-14-2004, 03:37 PM   #6
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
had same problem(me dummie),looked and found this:MDKwiki-Admin Arecov 4 under kb.mdkclub.com/index.php/AdminArecov4 . two methods:
1. System Recovery1
2.Emergency recoveryIV;ScenarioIII: Login Fails
2nd looks simple asap try will post results. newby`s ,newby`s tsh tsh tsh
oh well we`re learning and fast! Amen.
 
Old 06-15-2004, 07:53 AM   #7
kengouk
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I reinstalled Linux last night and wrote down my user names and pw so that I would be sure what I wrote! But when it ask's for localuser it will not accept any username and password I put in! Im I being a complete ? or is there something wrong?
 
Old 06-15-2004, 08:21 AM   #8
coopns
Member
 
Registered: Jan 2004
Location: Scituate, MA
Distribution: Mandrake 10
Posts: 94

Rep: Reputation: 15
kengouk,

Can you log on as root? What choices do you have at the login screen?
 
Old 06-15-2004, 08:34 AM   #9
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally posted by XavierP
Those instructions are OS/distro agnostic - so "yes".
I don't think you can do this mad 'anybody can completely take over the computer' thing on Debian can you??
 
Old 06-16-2004, 12:19 PM   #10
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Blog Entries: 1

Rep: Reputation: 37
Thats why its possible to add a password to grub, to stop anyone from rooting you.
 
Old 06-21-2004, 01:37 PM   #11
kengouk
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hi sorry been working too many long hours lately too work on Linux, anyway the options I get are:

Linux
Linux -nonfb
failsafe
windows
floppy

hope someone can help me!
 
Old 06-21-2004, 02:31 PM   #12
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
kengouk; those (4) opt,s are how u can boot on,depending how u installed
is the first to boot then nonfd which is without floppy,failsafe is like safemode(w),windows,last via floppydisk. u r choice.
 
Old 06-21-2004, 03:07 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by v00d00101
Thats why its possible to add a password to grub, to stop anyone from rooting you.
That's why my lilo kernel-images are set to restricted in
Slack ...

Mind you, Slack by default won't come up password-less
with "single" in the first place ... but you could always override
init with a /bin/bash and tackle it from there ;)



Cheers,
Tink
 
  


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
how do you unistall mandrake 10 ant123 Linux - Software 1 09-20-2004 06:44 AM
forgot root passwd sanu Linux - Newbie 1 09-20-2004 04:45 AM
forgot root password ust Linux - General 5 07-03-2004 01:39 AM
Can't find root directory for Apache 2.0 (Mandrake 9.2) kaega2 Linux - Software 6 02-13-2004 06:08 PM
I have forgot my linux root passwd shankha Linux - Security 2 09-13-2003 06:13 AM

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

All times are GMT -5. The time now is 02:23 PM.

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