Recently (I think since upgrading to Intrepid), root cron jobs have not been running, instead leaving messages like:
Code:
Jan 29 11:20:01 oxford CRON[11616]: Authentication failure
It does not seem to matter whether the job is in root's crontab (with crontab -e), /etc/crontab, or in the /etc/cron.d/ directory. As a consequence, cron.daily, cron.hourly, etc are also not running, since these are invoked as root from /etc/crontab. I thought this might have something to do with pam, but I have another server with an identical /etc/pam.d/cron file, which has no problems. I'm not sure how to check that pam is correctly configured, however.
One thing I did notice, was that the /etc/shadow file did not have a root entry. I changed this (still not allowing logins), but the problem persists. I have tried "apt-get install --reinstall cron" and checking permissions on the cron files. The test job I'm running is really simple:
Code:
* * * * * root /usr/bin/touch /root/touchme
Omitting the "root" if in in the root user crontab, of course. Other cron jobs don't seem to have a problem.
Cron/authentication experts: please help!