From owner-freebsd-current Sat Aug 11 1: 4:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp8.xs4all.nl (smtp8.xs4all.nl [194.109.127.134]) by hub.freebsd.org (Postfix) with ESMTP id 5A61A37B405 for ; Sat, 11 Aug 2001 01:04:26 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp8.xs4all.nl (8.9.3/8.9.3) with ESMTP id KAA13123; Sat, 11 Aug 2001 10:04:24 +0200 (CEST) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.4/8.11.4) id f7B84NY21018; Sat, 11 Aug 2001 10:04:23 +0200 (CEST) (envelope-from wkb) Date: Sat, 11 Aug 2001 10:04:23 +0200 From: Wilko Bulte To: Brooks Davis Cc: Jason Vervlied , freebsd-current@FreeBSD.ORG Subject: Re: bash in /usr/local/bin? Message-ID: <20010811100423.C20950@freebie.xs4all.nl> References: <3B74D180.D036D629@hway.net> <20010810233817.A22595@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010810233817.A22595@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Fri, Aug 10, 2001 at 11:38:17PM -0700 X-OS: FreeBSD 4.3-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 10, 2001 at 11:38:17PM -0700, Brooks Davis wrote: > On Sat, Aug 11, 2001 at 02:32:32AM -0400, Jason Vervlied wrote: > > 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)? > > Assuming it was compiled staticly (a quick glance at the port's Makefile > seems to indicate it should be) it should work. If it's dynamicly linked > it won't work because the libs are in /usr which isn't mounted in single > user mode. /usr/local/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), stripped -- | / o / / _ Arnhem, The Netherlands email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message