* SUMMARY: setuid doesn't recognize LD_LIBRARY_PATH
@ 2001-12-19 17:20 Eubank, Chris
0 siblings, 0 replies; only message in thread
From: Eubank, Chris @ 2001-12-19 17:20 UTC (permalink / raw)
To: tru64-unix-managers
OK so I must be one of the millions who have discovered this, and I received
answers honestly from all over the world. Impressive!!
The basic consensus was that it's a security hole, so you can't do that.
A workaround is to create a static binary. Another is to link with -rpath.
Thanks to Bob, Lucien, Joe, James, Chris, various sysadmins, Dr. Blinn,
David, Stan, and Allan!
Good thing I asked, otherwise I might have gone and broken my security !!
Chris
-----Original Message-----
From: Eubank, Chris
Sent: Tuesday, December 18, 2001 1:44 PM
To: 'tru64-unix-managers@ornl.gov'
Subject: setuid doesn't recognize LD_LIBRARY_PATH
Is there a way to specify trusted anything to allow a user to run a program
with the setuid bit enabled in a C program, rather than copying all the
necessary libraries to /usr/lib?
It seems it doesn't recognize the LD_LIBRARY_PATH variable.
Thanks
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-19 17:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-19 17:20 SUMMARY: setuid doesn't recognize LD_LIBRARY_PATH Eubank, Chris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox