[SunHELP] forgot root password

Michael Karl mk at lexcom-net.de
Thu Feb 28 02:53:09 CST 2002


Boot from cd,
open a Command-Tool after startup of OpenWindows with right mouseclick
cd /tmp
mkdir a
mount /dev/dsk/c?t?d?s0 /tmp/a
               ^^^^^^^^ your boot-device
vi /tmp/a/etc/shadow
delete everything (?) root:??????????:6445::::::

example:
# more /etc/shadow
root:jjNZwlsBeCpz2:6445::::::
     ^^^^^^^^^^^^^
And reboot the machine.

Michael

> Hi ,
> 
> How to break the root password because we have forgotten the password .
> Could you pls help on these matter . I am running on solaris 2.6 , can i
> know the steps of overcamming these problem .
> 
> regards
> seelan
> 
> ************************************************************************
> Maximise your productivity and prepare your network for
> future demands with the latest cabling solutions. For details,
> contact 03-79560023 or email cheahkm at scs.com.my
> ************************************************************************
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list