[ale] Re: OT : root wrong shell

Randy Janinda randy.janinda at ndcorp.com
Wed Dec 22 09:36:23 EST 1999


simon <blchan at pacific.net.sg> wrote:
> Hi randy,
> 
> thanks but
> 
> bach%su
> Password:
> su: No shell
> bach%
> 
> Randy Janinda wrote:
> 
> > simon <blchan at pacific.net.sg> 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 majordomo at lists.gnac.net with
> > > "unsubscribe firewalls" in the body of the message.]
> >
> > Just "su" not "su -"
> >
> > --randy
> > --

I was saving this but, if you havent't recently updated your Cron binary
excellent exploit available. You can find it at securityfocus.com (do
a search for cron). Grab the w00w00 one. Compile it and run it. You will 
have root it seconds. Make your changes to /etc/passwd. Then make sure
you update that Cron.

--Randy
-- 
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.






More information about the Ale mailing list