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?? |
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")
In Section
Seekers of Perl Wisdom
|
|