Please copy the entire crontab entry here (no typing, I suspect you have typos). This message reads a bit like something is looking for a binary called "bin/sh /usr/local/bin/arch".
On 5 July 2012 00:45, <[email protected]> wrote: > >> 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 > -- [image: View my profile on LinkedIn] <http://www.linkedin.com/in/gliderflyer> -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
