[SunHELP] (no subject)

John, Lee sunhelp at sunhelp.org
Wed Dec 13 19:46:19 CST 2000


Rob,

It seems that "su root -c /sbin/sh" can't fix the problem. Have you ever
tried this method ?

Gary,

AFAIK, the only method is press "STOP+A" and run "sync" command, then
restart your machine from CDROM.

Regards.
John

-----Original Message-----
From: Rob Staab [mailto:rstaab at etrana.com]
Sent: Wednesday, December 13, 2000 11:41 PM
To: sunhelp at sunhelp.org
Subject: RE: [SunHELP] (no subject)


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
>

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list