I'm sure this has been answered, but... that is whey god made rescue
disks. Boot off floppy, mount fs, edit /mnt/myserver/etc/passwd so root
has a shell again, UNMOUNT THE FS BEFORE EXITING OR CHANGES WON'T BE
SAVED!!! reboot. Voila!
I bet all sysadmins have a similar story to tell... =)
Carric Dooley CNE
COM2:Interactive Media
http://www.com2usa.com
"Luck is the residue of design."
- Branch Rickey - former owner of the Brooklyn Dodger Baseball Team
On Tue, 21 Dec 1999, 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.]