[SunHELP] (no subject)
Rob Staab
sunhelp at sunhelp.org
Wed Dec 13 09:40:47 CST 2000
How about logging in as another user and running su root -c /sbin/sh? That
will grant you a root shell and you can fix the problem.
- Rob
> -----Original Message-----
> From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
> Behalf Of Gary Ren
> Sent: Tuesday, December 12, 2000 7:35 PM
> To: sunhelp at sunhelp.org
> Subject: [SunHELP] (no subject)
>
>
> Hello, Friends,
>
> I wander if I can received a your great help on the Solaris 8 workstation?
>
> I made a big trouble today.
>
> I change sh to csh in /etc/passwd, but I forgot to change the path from
> /sbin/sh to /bin/csh. After I logout, I never got a chance to
> login as root
> by anyway. It shows that can't find shell and reject me. I know if I boot
> from CD and mount / to any other directory could chance this
> file. But the
> problem is how I can shutdown the machine by command. I don't
> want to plug
> power off.
>
> Do you know any solution to shutdown the workstation by command? Any
> suggestion is very appreciated.
>
> Thanks very much for your suggestion
>
> with my best regards,
>
> Gary
>
>
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
More information about the SunHELP
mailing list