LD_LIBRARY_PATH, Solaris 2.6 and sudo

Justin Ream justin.ream at towerhealth.com
Wed Nov 15 16:23:18 EST 2000


Would that work?  That seems fairly obvious, but then again, does not sudo
disregard any LD_* environment variables?

Justin

-----Original Message-----
From: mackay at kodak.com [mailto:mackay at kodak.com]
Sent: Wednesday, November 15, 2000 11:41 AM
To: Justin Ream
Subject: Re: LD_LIBRARY_PATH, Solaris 2.6 and sudo




From: Scott D. MacKay

Do you means something like creating a shell script, putting in the
LD_LIBRARY_PATH, etc, and invocation of Sybase and have SUDO give them
access to that script instead?

-Scott





"Justin Ream" <justin.ream at towerhealth.com> on 11/15/2000 02:29:11 PM

To:   sudo-users at courtesan.com
cc:    (bcc: Scott D. MacKay/943904/EKC)
Subject:  LD_LIBRARY_PATH, Solaris 2.6 and sudo





Hi,

     I've recently ran in to problem involving a solution (why does it
always
work that way?) for a group of Sybase programmers at my work.
     What I did was install sudo for them so they could run Sybase as root.
But
I didn't learn until too late that sudo obliterates the LD_*environment
variables, which makes sense, but kind of blows me out of the water because
the libraries needed to run these commands are not installed under
/usr/lib.
I guess I could symlink all those libraries to that directory, but I'd
rather not.
     As a disclaimer, I would like to note I'm fairly new to the Sys V
world, I
came from a background of Linux and BSD.  I was wondering if there was
something like ldconfig that creates links and caches like ldconfig?  Or is
there some other way to get sudo to run and look against those library
locations?

Thanks,
Justin


____________________________________________________________
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
http://www.courtesan.com/mailman/listinfo/sudo-users










More information about the sudo-users mailing list