From: "Eubank, Chris" <ceubank () royalbcmuseum ! bc ! ca>
To: tru64-unix-managers
Subject: SUMMARY: setuid doesn't recognize LD_LIBRARY_PATH
Date: Wed, 19 Dec 2001 17:20:16 +0000 [thread overview]
Message-ID: <102653644221769.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2001-12-19 17:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox