Bugtraq mailing list archives
Re: export LD_LIBRARY_PATH in /etc/profile.d/* files
From: ant () notatla demon co uk (Antonomasia)
Date: Wed, 18 Dec 2002 07:28:37 +0000 (GMT)
If the desired effect is really to have shared libraries loaded from whatever the current directory is, then the administrator should add the single dot . to LD_LIBRARY_PATH.But isn't a . in LD_LIBRARY_PATH the same as an empty entry. Or anyway, just as insecure?
They mean the same but one is less likely to apear in the variable by accident as happens in this case.
What the original script should do is append to LD_LIBRARY_PATH only if it is already defined. It's quite a common mistake I fear.
Agree, but with the system-wide ignoring of blank LD_LIBRARY_PATH entries you have some fault-tolerance against wrongheaded packages. -- ############################################################## # Antonomasia ant notatla.demon.co.uk # # See http://www.notatla.demon.co.uk/ # ##############################################################
Current thread:
- export LD_LIBRARY_PATH in /etc/profile.d/* files rich (Dec 17)
- Re: export LD_LIBRARY_PATH in /etc/profile.d/* files mlh (Dec 17)
- <Possible follow-ups>
- Re: export LD_LIBRARY_PATH in /etc/profile.d/* files Antonomasia (Dec 18)