User Cron Jobs Won't Run - Pulling Hair Out
I have a rhel 4 update 4 system. User cron jobs are not running, nothing is logged anywhere.
[root@adcbkpadm01 ~]# crontab -u bkpops -l
25 10 * * * /usr/local/bkpops/sbin/grabNBUjobs >/usr/local/bkpops/logs/cron.out 2>&1
[root@adcbkpadm01 ~]# ls -l /usr/local/bkpops/sbin/grabNBUjobs
-rwxrwxr-- 1 bkpops bkpops 4159 Jul 24 10:09 /usr/local/bkpops/sbin/grabNBUjobs
As a test I had a simple script in place that merely touch's a file in /tmp. This file never gets created. Absolutely nothing is logged to /var/log/messages or /var/log/cron
I do see my edits to the bkpops user crontab in /var/log/cron:
Jul 24 10:20:56 adcbkpadm01 crontab: (root) BEGIN EDIT (bkpops)
Jul 24 10:20:59 adcbkpadm01 crontab: (root) REPLACE (bkpops)
Jul 24 10:20:59 adcbkpadm01 crontab: (root) END EDIT (bkpops)
/etc/cron.allow did not exist, so I created it and added bkpops. (/etc/cron.deny existed previously but contained no users)
I then searched google and saw a lot of people having this issue and supposedly this solved there problem:
account required pam_access.so
account required pam_access.so accessfile=/etc/security/access-cron.conf
This did not solve my problem.