[Python-Dev] Pondering some changes to python.c...
Sean Reifschneider
jafo@tummy.com
Sun, 7 Apr 2002 21:54:10 -0600
On Sun, Apr 07, 2002 at 12:26:01PM -0400, Barry A. Warsaw wrote:
> AK> You might want to be careful about LD_LIBRARY_PATH -- if the
> AK> executable is built for dynamic linking, and it needs a
> AK> library that's not in /usr/lib, mightn't changing
> AK> LD_LIBRARY_PATH cause it to fail?
>
>It might indeed, although some *nixes have ways for the sysadmin to
>safely extend the default lookup path (i.e. /etc/ld.so.conf and
>ldconfig).
If you can't clear LD_*, you probably can't safely run it as SUID. That'd
be my inclination...
Sean
--
"Yes on one, no on two." "Is number one nuke Russia, or number two?"
-- _Buckaroo_Banzai_
Sean Reifschneider, Inimitably Superfluous <jafo@tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python