From owner-freebsd-questions Sat Aug 11 7:46:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 2EC4637B406 for ; Sat, 11 Aug 2001 07:46:45 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.4/8.11.4) id f7BEkgA05442; Sat, 11 Aug 2001 09:46:42 -0500 (CDT) (envelope-from dan) Date: Sat, 11 Aug 2001 09:46:42 -0500 From: Dan Nelson To: Jason Vervlied Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bash in /usr/local/bin? Message-ID: <20010811094642.A19872@dan.emsphone.com> References: <3B74D2CD.7D1C21E8@hway.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B74D2CD.7D1C21E8@hway.net> User-Agent: Mutt/1.3.20i X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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