Date: Tue, 30 Oct 2007 15:03:50 -0400 From: "Josh Carroll" <josh.carroll@gmail.com> To: "Stephen Allen" <p0036343@brookes.ac.uk> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Dangers of using a non-base shell Message-ID: <8cb6106e0710301203s75bdd6a3w88494eaeed89f921@mail.gmail.com> In-Reply-To: <472647A0.3030009@brookes.ac.uk> References: <472647A0.3030009@brookes.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
> It's been drawn to my attention not to use bash from the ports
> collection, because if one of it's dependencies (gettext or libiconv)
> fails or is updated significantly, it could break, and prevent login.
> The suggested solution was to use a base shell (such as sh) and append
> 'bash -l' to .shrc to automatically enter bash.
Personally, I use zsh for root's shell, and I just have the port
compile it statically, so I don't have to worry about a broken
dependency. There are other caveats, of course.
In my case, I just throw this in /etc/make.conf:
.if ${.CURDIR:M*/shells/zsh}
NO_SHARED=yes
.endif
Regards,
Josh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0710301203s75bdd6a3w88494eaeed89f921>
