Re: Getting perl code to run sgid

2002-05-24 Thread Bob Proulx
> I get the distinct impression, based on `perldoc perlsec` that perl > is smart enough to detect and circumvent the relevant > vulnerabilities: > on many >versions of Unix, set-id scripts are inherently insecure >right from the

Re: Getting perl code to run sgid

2002-05-24 Thread Dave Sherohman
On Fri, May 24, 2002 at 09:52:58AM -0600, Bob Proulx wrote: > Note that whenever you make a script suid or sgid you are trading in > your padlock for a breadtie. There are many well known trivial > ways to fool a suid script into giving you a shell of the id it > is set to. I get the distinct imp

Re: Getting perl code to run sgid

2002-05-24 Thread Bob Proulx
> The obvious solution, then, was to change the ownership of the > command-line script to group www-data and make it sgid. Note that whenever you make a script suid or sgid you are trading in your padlock for a breadtie. There are many well known trivial ways to fool a suid script into giving you

Re: Getting perl code to run sgid

2002-05-22 Thread Kirk Strauser
At 2002-05-22T12:55:08Z, Dave Sherohman <[EMAIL PROTECTED]> writes: > So, what do I need to do to make this work without adding all users of the > command-line utility to group www-data or making the config file > world-readable? It seems like this is becoming my default answer, but: Check out