LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-07-2005, 12:46 PM   #1
Ron Moroney
LQ Newbie
 
Registered: Apr 2005
Location: Montreal, Que. Canada
Posts: 3

Rep: Reputation: 0
logon and password recovery


Have got a network print server for a Xerox Docutech running Red hat 5.2.
I do not have logon or password for this machine. Is there any way to replace or work around logon and password and keep what is in computer.
By the way Linux completely new to me.
Any help will be greatly appreciated
Ron Moroney
 
Old 04-07-2005, 12:59 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
When you boot the machine, you likely get a "lilo" prompt. At that prompt, hit the tab key to see a list of boot choices (the default will have an asterisk next to it, and is usually called "linux"). Enter the name of the default entry, followed by the word "single". For example:

linux single

The system will boot, but not start any services, and you will get a root prompt ("# "). You can change any passwords you need to at this time. For example:

passwd someuser

To change the root password, enter just the passwd command with no parameters:

passwd
 
Old 04-07-2005, 01:34 PM   #3
Ron Moroney
LQ Newbie
 
Registered: Apr 2005
Location: Montreal, Que. Canada
Posts: 3

Original Poster
Rep: Reputation: 0
Tried that. Pressing tab gives no choices.
 
Old 04-07-2005, 01:44 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Then just try "linux single". 99/100 times it will work.
 
Old 04-08-2005, 11:21 AM   #5
Ron Moroney
LQ Newbie
 
Registered: Apr 2005
Location: Montreal, Que. Canada
Posts: 3

Original Poster
Rep: Reputation: 0
did that
got "bash#" prompt
Don't know what that means
 
Old 04-08-2005, 01:15 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Mace just told you what you needed to do. Once you see that '#' prompt, it means you are root. Then type 'passwd' to change root password. After that, type 'exit' and the computer will boot to your default runlevel and now you have access to do anything you want.

-twantrd
 
  


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
Root password recovery Jabber Linux - Security 6 11-27-2005 04:23 PM
Help with password logon window wardialer Linux - Newbie 3 04-08-2005 02:24 AM
Password Recovery rockfort Linux - Security 11 02-02-2005 06:12 AM
password recovery JesseMor Linux - Security 2 09-10-2004 06:18 PM
Password recovery mikeshn Linux - Security 1 09-08-2002 09:50 AM


All times are GMT -5. The time now is 01:44 PM.

Main Menu
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