Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2008 15:22:08 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Aniruddha <mailing_list@orange.nl>
Cc:        Jeremy Chadwick <koitsu@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: Can't login as root after changing the shell to bash
Message-ID:  <20081014192208.GB8930@gizmo.acns.msu.edu>
In-Reply-To: <1224011858.4032.1.camel@debian>
References:  <1224008893.4098.6.camel@debian> <20081014183730.GA56634@icarus.home.lan> <1224011858.4032.1.camel@debian>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 14, 2008 at 09:17:38PM +0200, Aniruddha wrote:

> On Tue, 2008-10-14 at 11:37 -0700, Jeremy Chadwick wrote:
> > On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote:
> > > I tried to change the root's shell to bash. I used this command: 'chsh
> > > -s /usr/local/bin/bash'. Prior to changing the shell for root I did it
> > > for my user account using the same command without problems.
> > > Unfortunately after a reboot I can't login as root anymore because my
> > > system can't find /usr/local/bin/bash.
> > 
> > I can't explain why your systems says it can't find /usr/local/bin/bash.
> > I would assume you also cannot log in as yourself.
> 
> Thanks for your help! I changed the default shell back to /bin/csh but I
> still can't login as root?! I get the same message (can't
> find /bin/csh).

Your path is most likely screwed up.    Probably it never got set
correctly.     Can you reboot?

////jerry    

> 
> -- 
> Regards,
> 
> Aniruddha
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081014192208.GB8930>