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")