-   Linux - Newbie (
-   -   logon and password recovery (

Ron Moroney 04-07-2005 01:46 PM

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

macemoneta 04-07-2005 01:59 PM

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:


Ron Moroney 04-07-2005 02:34 PM

Tried that. Pressing tab gives no choices.

macemoneta 04-07-2005 02:44 PM

Then just try "linux single". 99/100 times it will work.

Ron Moroney 04-08-2005 12:21 PM

did that
got "bash#" prompt
Don't know what that means

twantrd 04-08-2005 02:15 PM

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.


All times are GMT -5. The time now is 03:25 AM.