| 刚找到这一段,和楼上的一样: Good news is, if you are running Solaris 9, there is fallback shell if you stop the machine and boot it into single user with boot -s Bad news, it doesnt work in previous releases. There you have to take your Solaris CD, put it in boot with: boot cdrom -s when its up do a mount: mount /dev/dsk/c0t0d0s0 /a set TERM=vi export TERM vi /a/etc/shadow remove everything between first and second colon so it looks like this root:: and leave the rest as it were Have fun *L* do an: umount /a and reboot the system Sorry, no other way to do it http://www.google.ca/search?q=cache:j8dOZxT71DUC:www.experts-exchange.com/Operating_Systems/Solaris/Q_20311607.html+unix++su+no+shell&hl=en&ie=UTF-8
|