BASH as root shell (static linking)

Jerahmy Pocott quakenet1 at optusnet.com.au
Fri Oct 5 11:54:30 PDT 2007


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!


More information about the freebsd-questions mailing list