Date: Sat, 6 Oct 2007 06:51:53 +1000 From: Jerahmy Pocott <quakenet1@optusnet.com.au> To: FreeBSD Questions <freebsd-questions@freebsd.org> Cc: "Brian A. Seklecki" <lavalamp@spiritual-machines.org> Subject: Re: BASH as root shell (static linking) Message-ID: <2E53DE70-20DE-4F97-8645-943F25AA3AF5@optusnet.com.au> In-Reply-To: <1191610761.28483.184.camel@soundwave.pitbpa0.priv.collaborativefusion.com> References: <2F42244C-6F3F-48B3-AC05-FF068A791324@optusnet.com.au> <1191610761.28483.184.camel@soundwave.pitbpa0.priv.collaborativefusion.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/10/2007, at 4:59 AM, Brian A. Seklecki wrote: > > > On Sat, 2007-10-06 at 04:54 +1000, Jerahmy Pocott wrote: >> 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.. > > JP: > > Did: > > $ ldd /bin/bash > > Return anything? It should not. It's saying: libintl.so.6 => /usr/local/lib/libintl.so.6 (0x2819d000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x281a6000) Why is it linking these dynamically? It's not linking ncurses or libc dynamically.. Thanks!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2E53DE70-20DE-4F97-8645-943F25AA3AF5>