I want to do a command line backup ie http://help.directadmin.com/item.php?id=198 via a bash script that logs into my da server does a backup then transfers the file to another server. The script will login to the da server as user admin however I see this user can't execute task.queue.
I tried adding
to the /etc/sudoers file but still get the same 'permission denied' message.
I tried adding
Code:
admin host = (root) NOPASSWD: /usr/local/directadmin/data/task.queue
to the /etc/sudoers file but still get the same 'permission denied' message.