Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: perl and sudo basic question

by dynamo (Chaplain)
on Jul 09, 2007 at 22:41 UTC ( [id://625723] : note . print w/replies, xml ) Need Help??


in reply to perl and sudo basic question

1 - What output do you expect?
2 - Can you tell if it is calling the script at all? (for example, add a line in the script saying
echo "is working" > is_it_working
to find out.)
3 - if you run the perl program already as root (or whoever), does it work then? Sudo should not be required in that case.

- Dynamo