root password recovery

Rajesh rajeshb at frontline.com.au
Thu Apr 7 01:34:16 UTC 2005



Thank you very much for your help. I have successfully changed the root
password. 

On Linux is there a tool or command to find the system hardware
configuration. "dmesg" command gave me some info about memory and cpu. How
can I find out the hard disk information?

Regards,
Rajesh.


Rajesh wrote:
> Hi All,
> 
> My previous system admin has installed Red Hat Linux Enterprise server 3.0
> on a Sun V20z and left. We don't have the root password to access the
> machine. How can 	I change the root password? On sun boxes we can boot
> with CDROM to single user mode and delete the password entry in the
> /etc/shadow file. I don't have much Linux skills. Could someone please
tell
> me how I can recover the root password. I don't have any boot floppy or
> anything for that machine. Any help would be really appreciated.

Bring the machine up in single user mode.  When it comes up to the "#"
prompt, use the "passwd" command to change the password.  Then enter 
"exit" to let the machine reboot to normal mode.

If you don't know how to boot in single user mode, at the blue boot
screen, hit "CTRL-X".  At the resulting "boot:" prompt, enter
"linux single".
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-      Always remember you're unique, just like everyone else.       -
----------------------------------------------------------------------






More information about the Redhat-install-list mailing list