try su - -c /correct/shell
-g
On Tue, Dec 21, 1999 at 10:52:20PM +0800, simon wrote:
> HI all,
>
> I'm in some trouble.
>
> I have a sun os but I change the shell of the root user to a
> none existent shell.
>
> now, I could not su to root.
>
> root:x:0:1:Super-User:/:/sbin/csh
> patyi:x:106:20:Patrick Yi:/export/home/patyi:/bin/csh
>
> Is there a way I can regain root access.
>
> bach% su -
> Password:
> su: No shell
> bach%
>
> Any advise will be appreciated.
>
> BEst Rgds,
>
> squall
>
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]