Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

SUID bit set on a COBOL executable uner a HP-UX like OS - disable library search paths.
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


Report this thread to moderator Post Follow-up to this message
Old Post
robwlindsay@gmail.com
10-06-06 02:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:08 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.