LinuxQuestions.org
Register a domain and help support LQ
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 07-26-2006, 02:33 PM   #1
rdelia
LQ Newbie
 
Registered: Jul 2006
Posts: 15

Rep: Reputation: 0
How to reset root password without knowing the old one?


How can I set the root password when I don't know what it was originally? I have Red Hat Linux and nothing else on the box. When I get to the GRUB login, I've tried entering an "E" as was suggested by another user here but I never got the screens he described. I cannot boot to Single User level as the system says I need root access. Please help!
 
Old 07-26-2006, 02:41 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Boot from a LiveCD, mount the drive containing /etc, edit /etc/shadow and delete the second field of the line starting with "root:".
 
Old 07-26-2006, 02:48 PM   #3
rdelia
LQ Newbie
 
Registered: Jul 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Unhappy LiveCD?

What do you mean by a "LiveCD"? I am really NEW at this.
 
Old 07-26-2006, 02:50 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Sorry. A LiveCD is a bootable copy of Linux that allows you to run Linux without having to install anything. Knoppix is the original and still has a huge array of tools available.
 
Old 07-26-2006, 02:56 PM   #5
rdelia
LQ Newbie
 
Registered: Jul 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Knoppix

Where can I get a copy of Knoppix?
 
Old 07-26-2006, 03:17 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
http://www.knopper.net/knoppix-mirrors/index-en.html
 
Old 07-26-2006, 03:40 PM   #7
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,056

Rep: Reputation: 94
You might have some luck with Knoppix std
 
Old 07-26-2006, 03:43 PM   #8
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Quote:
Originally Posted by jstephens84
You might have some luck with Knoppix std
Is development of STD still active?
 
Old 07-26-2006, 03:49 PM   #9
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,056

Rep: Reputation: 94
Not sure but I came acrossed this site by accdient when one of the companies I do consulting for changed their admin password then forgot it. Will check in to it and post back.
 
Old 07-26-2006, 03:53 PM   #10
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,056

Rep: Reputation: 94
From the looks of it their site has activity on it so I am going out on a edge and saying yes they are still active.
 
Old 07-26-2006, 04:31 PM   #11
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Quote:
Originally Posted by jstephens84
From the looks of it their site has activity on it so I am going out on a edge and saying yes they are still active.
Yeah, I saw the news updates, but I've had a copy of Knoppix-STD 0.1 for quite a while and was wondering if they're going to release an updated version or what.
 
  


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
Reset Root password hbenway AIX 9 08-19-2008 05:13 PM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 05:11 AM
reset root password kapslock Debian 14 07-27-2006 08:08 AM
How to reset forgotten root password comprookie2000 Linux - Newbie 4 10-28-2004 01:33 PM
Reset Root password sdsouza Linux - Software 5 11-12-2003 05:50 PM


All times are GMT -5. The time now is 08:11 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration