BASH as root shell (static linking)

Brian A. Seklecki lavalamp at spiritual-machines.org
Fri Oct 5 11:59:24 PDT 2007



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.

~BAS



More information about the freebsd-questions mailing list