Why does the LD_LIBRARY_PATH variable get cleared for setuid/setgid binaries in Red Hat Enterprise Linux?

Updated -

LD_LIBRARY_PATH is an environment variable to give the run-time shared library loader (ld.so) an extra set of directories to look for when searching for shared libraries. It is used in preference to any run time or default system linker path.

Multiple directories can be listed and separated with a colon [:] . This list is prepended to the existing list of compiled-in lo...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.