Date: Sat, 11 Aug 2001 09:46:42 -0500 From: Dan Nelson <dnelson@emsphone.com> To: Jason Vervlied <jvervlied@hway.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bash in /usr/local/bin? Message-ID: <20010811094642.A19872@dan.emsphone.com> In-Reply-To: <3B74D2CD.7D1C21E8@hway.net> References: <3B74D2CD.7D1C21E8@hway.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 11), Jason Vervlied said: > Is there a reason why the bash shell is kept in /usr/local/bin. I > would personally prefer to use it for my root shell, but if I > remember right, root needs to have something that is in /bin (I could > be wrong). If I do need a shell located in /bin for root would it > break anything if I moved bash from /usr/local/bin to /bin (yes I > know I woudl have to update /etc/shells)? You can leave it in /usr/local/bin; I have zsh as my root shell and leave it in /u/l/b with no problems. You might be thinking of single-user mode requirements, but when you boot single-user it asks you what shell you want (defaulting to /bin/sh) no matter what the root account is set up as. What is important, though, is that you statically-link your shell. That way, if you have problems (say with libc.so), there's a better chance that your shell works. You also get a 10-20% speed bonus with static linking. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010811094642.A19872>