Ubuntu – Pam / ad issue with cron


Jobs in /etc/crontab which belong to non-local users now fail. That is a bit of a problem for us:

May 26 13:05:01 machineXYZ CRON[26927]: pam_sss(cron:account): \
                Access denied for user abcdef: 6 (Permission denied)

Is anybody else seeing this?

Best Answer

Turns out that answer to this question is applicable here too. With the line

ad_gpo_map_interactive = +unity, +polkit-1, +cron

we get screensaver / lockscreen as well as cron working.