From owner-freebsd-questions@FreeBSD.ORG Fri Oct 5 18:54:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 472BD16A418 for ; Fri, 5 Oct 2007 18:54:30 +0000 (UTC) (envelope-from quakenet1@optusnet.com.au) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id BD82113C4A5 for ; Fri, 5 Oct 2007 18:54:29 +0000 (UTC) (envelope-from quakenet1@optusnet.com.au) Received: from [10.0.0.3] (c220-239-13-242.belrs4.nsw.optusnet.com.au [220.239.13.242]) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l95IsR2K032448 for ; Sat, 6 Oct 2007 04:54:28 +1000 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <2F42244C-6F3F-48B3-AC05-FF068A791324@optusnet.com.au> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD Questions From: Jerahmy Pocott Date: Sat, 6 Oct 2007 04:54:26 +1000 X-Mailer: Apple Mail (2.752.2) Subject: BASH as root shell (static linking) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2007 18:54:30 -0000 Hello, I'm wanting to use BASH as my root shell, so I compiled a statically linked version then tried to log in with only / mounted. But I was locked out because elf.ld.so could not be found.. I though elf was the native binary format these days? But it needs a library to run them? Is it possible to statically link against elf? Or do standalone binary have to be in aout format? I'm a bit confused as to why it requires this dynamic library.. Thanks!