>> Don't use sudo in a script. You can set your cron job to run as a >> particular user.
script runs ok as vmail: sudo -u vmail /usr/local/bin/arch BUT, when I try to run from crontab as vmail get: bin/sh /usr/local/bin/arch perm denied /etc/passwd has vmail:x:5000:5000::/home/vmail:/bin/false is this what I need, replace 'false' with... 'nologin' ? 'sh'? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
