Maybe this will save you some headaches – if you’re tailing your cron log (tail -f /var/log/cron) and find a bunch of “account expired” records and you know that specific account is not expired, this might help. Try suspending and unsuspending the account. Still no go? This is a rare and very odd issue we ran into, but you may want to check (especially if you’re receiving these errors after repartitioning hard drive space) the crond file itself in /etc/pam.d. In this case it was blanked-out after repartitioning some drive space. If it is blanked out, it will revert to /etc/pam.d/other – which be default, in most cases, is deny. A quick and easy fix is to copy the entires in SSHD – save and restart crond.

Leave a Reply