Dangers of using a non-base shell
Josh Carroll
josh.carroll at gmail.com
Tue Oct 30 12:03:59 PDT 2007
> 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
More information about the freebsd-questions
mailing list