X-RDate: Mon, 09 Feb 1998 11:26:03 +0500 (ESK)
Date: Sat, 7 Feb 1998 20:02:31 -0500
From: [email protected]
To: [email protected]Subject: Re: Another ld-linux.so problem
>>>>> "Solar" == Solar Designer <[email protected]> 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 -- [email protected][email protected][email protected]http://www.cs.columbia.edu/~carson/home.html
Queen Trapped in a Butch Body