On Mon, Jul 16, 2001 at 05:19:42PM +0200, Tamas SZERB wrote: > On Mon, 16 Jul 2001, Oliver M . Bolzer wrote: > > > $ tsocks ssh foo.org > > > > then > > > > $ LD_PRELOAD=/usr/lib/libtsocks.so.X ssh foo.org > > agree. do you think is that enough? > > alabama:~$ cat tsocks > #!/bin/sh > > export LD_PRELOAD="$LD_PRELOAD /usr/lib/libtsocks.so" > > exec $* > #EOF > > I think that is necessary, and not really more. But you are using for long > time this thing. Is it ok, or do we need more? I have never used this myself, but if someone wanted more, they could always do something like 'tsocks bash' and get a shell in which every program they ran would be filtered through tsocks. They could even put something like 'exec tsocks bash' at the end of their ~/.bash_profile and then they'd always have it. (Of course this could be adapted for tcsh and xdm users.) Or am I wrong? This has not been tested. On second thought, for those who want it all the time, they could just put the LD_PRELOAD export command in their startup scripts and have an easier time. But my point is that no, no more is needed than this script IMHO. - Jimmy Kaplowitz jimmy@debian.org
Attachment:
pgpLxpzkAVn2s.pgp
Description: PGP signature