Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: suid on solaris??

by rdm (Hermit)
on Jun 24, 2004 at 08:36 UTC ( [id://369265]=note: print w/replies, xml ) Need Help??


in reply to suid on solaris??

Okay....This is working off a fairly old memory of Solaris - it's been a few years since I've used it.

Solaris has a policy of 'no scripts shall change uid'. This means that anything that fires off an external interpreter (via the #! magic) will not honour the suid bit.

OTOH, you should also check your Perl install, and see if it is SUID-enabled, as the policy may have changed.

Lastly, if you must have an SUID script, and the policy is still in place, or you have a non-SUID Perl, there is 'sudo', which you can use as a wrapper.

Hope this helps...

-Reality might not get out of Beta today. (O.Timas, "Bot")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found