Code Comments
Programming Forum and web based access to our favorite programming groups.Has anyone seen this before? The scenario: We are setting the SUID bit on an executable so it will run as the owner. This works fine in our Tru64 Unix, COBOL 4.1.30 environment. Under HP-UX 11.23i MicroFocus Server Express the executable cannot find it's libraries as the library search paths defined in LD_LIBRARY_PATH and SHLIBPATH are ignored. See the excerpt from HP-UX dlopen man page below: "WARNINGS The environment variable LD_LIBRARY_PATH and SHLIB_PATH should contain a colon-separated list of directories, in the same format as the PATH variable (see sh(1)). LD_LIBRARY_PATH and SHLIB_PATH will be ignored if the process' real user id is different from its effective user id or its real group id is different from its effective group id (see exec(2))." Does anyone have a workaround for this issue? TIA
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.