Re: Another ld-linux.so problem

From: carsonat_private
Date: Sat Feb 07 1998 - 17:02:31 PST

  • Next message: Aleph One: "Re: Another ld-linux.so problem"

    >>>>> "Solar" == Solar Designer <solarat_private> writes:
    
    Solar> Is there a reason for this limited LD_PRELOAD support for setuid binaries,
    Solar> does something depend on it? It looks like this was done intentionally...
    
    Yes. SOCKSifying stupid protocols that require binding ports <1024, for
    example. Assuming you install libsocks5_sh.so in /usr/lib, you can do:
    
    $ (export LD_PRELOAD=/usr/lib/libsocks5_sh.so; rsh machine.outside.firewall
    pwd)
    
    and have it work. This is basically what the runsocks script does.
    
    --
    Carson Gaspar -- carsonat_private carsonat_private carsonat_private
    http://www.cs.columbia.edu/~carson/home.html
    Queen Trapped in a Butch Body
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 13:42:10 PDT