sudo from crontab

From: Seth Rothenberg (SROTHENB@montefiore.org)
Date: Wed Sep 29 2004 - 11:45:49 EDT


Greetings Sun managers,
I am trying to run a perl script as root from a user's crontab.
The user can run the command using sudo from a command prompt, without
password.
The log of the cron job shows that sudo is asking the user to type a
password
(presumably the user's own password).

I was wondering if anyone has done this?
We are presently at sudo v. 1.6.7p5

Thanks
Seth
PS The script I am running manipulates print jobs in /var/spool/print.
 For the time being,
I added this user to the lp group and made that directory group
writable - no sudo needed.
Does anyone have a better/safer/cleaner suggestion? Thx
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:30 EDT