Whenever you can not boot a sun os as root,
the best way is booting the machine from the
cd-rom and thereafter editing /etc/passwd with
vi or any other editor and change the shell field to
/sbin/ksh which is the most used shell environment
in Sun OS.
cheers
Mahmut Korkmaz
Internet Technelogies & Network Security Specialist
ProNetwork
Eski Büyükdere Cad. Dilaver Sok. No:4
80660 Seyrantepe Istanbul Turkey
Tel : +90 212 325 5525
Fax : +90 212 325 5515
E-Mail: [EMAIL PROTECTED]
> -----Original Message-----
> From: simon [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, December 21, 1999 4:52 PM
> To: [EMAIL PROTECTED]
> Subject: OT : root wrong shell
>
> 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.]