Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2006 09:23:09 +0800
From:      "jan gestre" <freebsd.ph@gmail.com>
To:        ross <ross.penner@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Changing root's shell
Message-ID:  <a25afc300608081823n31c5fdecv1620fb06c743beeb@mail.gmail.com>
In-Reply-To: <op.tdzdwqn3w0tva9@ross.inet>
References:  <op.tdzdwqn3w0tva9@ross.inet>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/9/06, ross <ross.penner@gmail.com> wrote:
>
> so it seems changed root login's shell to /usr/bin/bash which doesn't
> exist. now I can't login to root at all. Oh yes, sudo isn't installed. How
> would you grand masters of FreeBSD fix my embarrasing mistake.
>
> Thanks!
>
> --
>
login using single user mode during bootup then revert back to old shell
using:

# pw user mod root -s /bin/csh

since your familiar with bash you can make csh behave like bash by editing
.cshrc and adding set autolist.

HTH



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