Just another Perl shrine | |
PerlMonks |
Re: Running Perl program w/root privs via cronby Anonymous Monk |
on Jun 09, 2002 at 06:00 UTC ( [id://172890]=note: print w/replies, xml ) | Need Help?? |
Another option. The sudoers file allows you to specify that certain commands can be run by specific users as other users without a password. Scan its documentation for NOPASSWD for the syntax (unfortunately without any examples, nor do I have one handy). This combines the advantages of the two solutions that you list.
In Section
Seekers of Perl Wisdom
|
|