BASH as root shell (static linking)
quakenet1 at optusnet.com.au
Fri Oct 5 13:51:57 PDT 2007
On 06/10/2007, at 4:59 AM, Brian A. Seklecki wrote:
> On Sat, 2007-10-06 at 04:54 +1000, Jerahmy Pocott wrote:
>> I'm wanting to use BASH as my root shell, so I compiled a statically
>> version then tried to log in with only / mounted. But I was locked
>> out because
>> elf.ld.so could not be found..
> $ ldd /bin/bash
> Return anything? It should not.
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
More information about the freebsd-questions