Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: adding libs in a setuid-perl script

by mpeppler (Vicar)
on Aug 30, 2010 at 19:35 UTC ( #858071=note: print w/replies, xml ) Need Help??

in reply to adding libs in a setuid-perl script

Luc contacted me directly first with this problem. To me it smells like something similar to the SElinux functionality. Meaning that depending on how a script is called the kernel allows loading shared lib objects from non-standard directories, or not.

Unfortunately I don't know Solaris 10, and in fact I'm nowadays very much removed from any sysadmin work, so I don't really know how this might need to be changed in order to work.

I don't think that the perl binary itself does anything special if it's running under setuid - and the fact that the script works when it is not running setuid would seem to indicate that things like LD_LIBRARY_PATH are in fact set correctly.

Guess we need someone with Solais 10 know-how...


  • Comment on Re: adding libs in a setuid-perl script

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://858071]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-10-25 20:39 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.