sudo from crontab
From: Seth Rothenberg (SROTHENB_at_montefiore.org)
Date: 09/29/04
- Previous message: Vani Bhat: "Sun One Directory server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Sep 2004 11:45:49 -0400 To: <sunmanagers@sunmanagers.org>
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
- Previous message: Vani Bhat: "Sun One Directory server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|