Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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...

Michael


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2015-07-08 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls