Subject: Re: default shell
To: P.Sidiropoulos <pesid@kav.forthnet.gr>
From: Mipam <mipam@ibb.net>
List: netbsd-help
Date: 02/05/2001 17:05:49
On Mon, Feb 05, 2001 at 08:43:12PM +0200, P.Sidiropoulos wrote:
> Hi!
>  How can I set the default shell to be the bash shell?

As mentioned you can set it with chsh or vipw after installing from pkgsrc.
However, you'll also got to add it in /etc/shells.

Security wise bad answer:
There is another thing you should consider, in the case of a crash and you
need to do recovery and the root shell is bash that'll may lead to problems.
So in that case you could consider compiling bash staticly and install
it in /bin and add it to /etc/shells.
For bash is bigger and more code, it could be a security issue using
bash as default shell for root, but i dont know if there are
known issues with the most recent bash, you should check it out.
Bye,

Mipam.