Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: can perl with sudo be 'secure enough'?

by gam3 (Curate)
on May 17, 2005 at 23:09 UTC ( [id://458036]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-12 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found