[SunHELP] root passwd expired

Wei Li wli at mailer.fsu.edu
Tue Nov 29 13:01:36 CST 2005


You can find this trick in google almost anywhere.

Best wishes

insert solaris 8 or 9 software 1 of 2 into cd drive

at ok prompt

boot cdrom -s

when at # prompt

type fsck -F ufs -y /dev/dsk/c0t0d0s0

mount /dev/dsk/c0t0d0s0 /mnt

cd /mnt/etc

setup vi

export TERM

or if using a vt100

export TERM

vi /mnt/etc/shadow

remove root password inbetween the colons ::

save file

init 6

root now has no passwd

Grindell, Joan M. wrote:

>This has never happened: is there anyway I can reset root's password with
>booting from a cdrom?
>SunHELP maillist  -  SunHELP at sunhelp.org

More information about the SunHELP mailing list