Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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 avoiding work at the Monastery: (8)
As of 2015-11-25 17:39 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (684 votes), past polls