Subject: non-root sudo and cron
From: thomson (lee@afabco.com)
Date: Mon Jan 06 2003 - 03:53:49 AKST
I have a cron job (some rsyncs) that I want to run as non-root user.
Here's the command I use:
/usr/bin/sudo -u it "rsync -rP --partial rsync.blah.org::bogus ."
where "it" is the user I want it to run as.
Here's the /etc/sudoers:
%wheel ALL=(ALL) NOPASSWD: ALL
user "it" is in group "wheel".
When I run this from a command line, all I get is:
sudo: /usr/bin/rsync -rPv --partial rsync.blah.org::bogus .: command not
found
Any ideas on this?
thx,
Lee
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
This archive was generated by hypermail 2a23 : Mon Jan 06 2003 - 13:18:23 AKST