SUMMARY: Changed shell - can't login - UPDATE

2007-12-24 21:49:00

Thanks to David Foster for pointing out a typo in the procedure below. You
need to edit the passwd file in the mount point, i.e.: 'vi /etc/passwd'
should be 'vi /mnt/etc/passwd'.

Thanks again to everyone who replied!

--Shawn

> Using the Solaris install CD:
> ok> boot cdrom -s
> When it has booted to single user mode, do the following:
>
> # mount /dev/dsk/c0t0d0s0 /mnt ( with the path of your root partition)
> # vi /etc/passwd
> Change your shell to a valid path
> # sync; reboot
>
> Thanks again!
>
> --Shawn
> _______________________________________________
> codeprof mailing list
> codeprof at codeprof.com
> http://www.codeprof.com/execute/ask/?codeinfoid=10589

Comments

Got something to say?

You must be logged in to post a comment.