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
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
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,