Re: Disabling sudo logging very specific command

2009-10-10 Thread Dan Kenigsberg
On Thu, Oct 01, 2009 at 10:45:41AM +1000, Amos Shapira wrote: Hello, We have a script which runs in a loop and contains a command like: for ONE_USER in $USER_GROUP { sudo $BINDIR/getmail $ONE_USER $TOPDIR } This script is executed by a non-root user and generates

Re: Disabling sudo logging very specific command

2009-10-10 Thread Amos Shapira
2009/10/10 Dan Kenigsberg dan...@cs.technion.ac.il: you should be able to do that with adding Cmnd_Alias BLA = /path/to/getmail * * youruser ALL=NOPASSWD: BLA Defaults!BLA !syslog to /etc/sudoers. (untested, unwarranted) Thanks very much. Evern untested I hope it'll give me the right

Disabling sudo logging very specific command

2009-09-30 Thread Amos Shapira
Hello, We have a script which runs in a loop and contains a command like: for ONE_USER in $USER_GROUP { sudo $BINDIR/getmail $ONE_USER $TOPDIR } This script is executed by a non-root user and generates tons of output in /var/log/secure (this is an old Fedora Core system,