I've got an application that needs to run with setuid root.
However, it cannot run because it is looking for shared libraries
that are normally searched via LD_LIBRARY_PATH
I have already tried setting LD_LIBRARY_PATH inside of
/etc/default/su, but it is ignored. And it does not seem to make any
difference whether root's shell is Bourne or C, since the /.* files are
not read during a setuid.
How can I get a setuid application to inherit LD_LIBRARY_PATH
under Solaris 2.3?
Thanks for any information,