From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 15:03:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EB2316A4C0 for ; Thu, 28 Aug 2003 15:03:29 -0700 (PDT) Received: from www.bluecirclesoft.com (cvg-65-26-145-190.cinci.rr.com [65.26.145.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47C7643FE5 for ; Thu, 28 Aug 2003 15:03:28 -0700 (PDT) (envelope-from marc.ramirez@bluecirclesoft.com) Received: from www.bluecirclesoft.com (localhost [127.0.0.1]) h7SM3Lax081694; Thu, 28 Aug 2003 18:03:22 -0400 (EDT) (envelope-from mrami@bluecirclesoft.com) Received: from localhost (mrami@localhost)h7SM3L2n081691; Thu, 28 Aug 2003 18:03:21 -0400 (EDT) X-Authentication-Warning: www.bluecirclesoft.com: mrami owned process doing -bs Date: Thu, 28 Aug 2003 18:03:21 -0400 (EDT) From: Marc Ramirez To: Dan Nelson In-Reply-To: <20030828214523.GF29750@dan.emsphone.com> Message-ID: <20030828180232.F73827@www.bluecirclesoft.com> References: <1671561231.20280829005225@mail.ru> <20030828213345.GD80772@christabel.starbreaker.net> <20030828214523.GF29750@dan.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Marc Wiz cc: FreeBSD Questions Subject: Re: Necessary code or trash? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 22:03:29 -0000 On Thu, 28 Aug 2003, Dan Nelson wrote: > In the last episode (Aug 28), Marc Wiz said: > > Sticking with /bin/sh is a good idea. > > > > What I have done is build a static version of bash and put it /bin > > > > I changed root's shell to /bin/bash and run just fine. > > > > Has anyone noticed what a pain it is to build bash statically and > > install it in /bin? > > I don't use bash, but the bash2 port Makefile looks like it builds a > static binary by default: > > CONFIGURE_ENV= LDFLAGS=-static You seem to be correct: $ ldd /bin/bash ldd: /bin/bash: not a dynamic executable I took no special pains - just built the port. -- Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal)