[SunHELP] root passwd expired
Wei Li
wli at mailer.fsu.edu
Tue Nov 29 13:01:36 CST 2005
Hi,
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
TERM=sun
export TERM
or if using a vt100
TERM=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:
>Oops:
>
>This has never happened: is there anyway I can reset root's password with
>booting from a cdrom?
>
>Thanks
>Joan
>_______________________________________________
>SunHELP maillist - SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
>
>
More information about the SunHELP
mailing list