Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2007 04:54:26 +1000
From:      Jerahmy Pocott <quakenet1@optusnet.com.au>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   BASH as root shell (static linking)
Message-ID:  <2F42244C-6F3F-48B3-AC05-FF068A791324@optusnet.com.au>

next in thread | raw e-mail | index | archive | help
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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2F42244C-6F3F-48B3-AC05-FF068A791324>