Can't login as root after changing the shell to bash
Aniruddha
mailing_list at orange.nl
Tue Oct 14 12:38:02 PDT 2008
On Tue, 2008-10-14 at 12:27 -0700, Jeremy Chadwick wrote:
> 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).
>
> I can't explain this. Possibly there's a permissions or ownership
> problem on the / directory (ls -ld / will show you that)? I've no idea;
> sounds odd.
>
Sorry for the confusion. I just checked with vipw and somehow there got
a dot behind /dev/csh :# Thanks for the help! I learned a lot.
--
Regards,
Aniruddha
More information about the freebsd-questions
mailing list