in reply to can perl with sudo be 'secure enough'?

This should be safe. It sounds like you are only trusting apache to run these scripts as root.

I don't know what you are trying to do, but you might not need to be root. Look into setting up a user with groups to run these scripts as a user other than root.

-- gam3
A picture is worth a thousand words, but takes 200K.
  • Comment on Re: can perl with sudo be 'secure enough'?

Replies are listed 'Best First'.
Re^2: can perl with sudo be 'secure enough'?
by buckaduck (Chaplain) on May 17, 2005 at 23:42 UTC
    I wrote this node a long time ago (anonymously), where I gave a little more detail about how to set up security like this using groups.

    buckaduck