We have this error in Cron Job:
(otrs) PAM ERROR (Authentication service cannot retrieve authentication info)
(otrs) FAILED to authorize user with PAM (Authentication service cannot retrieve authentication info)
We have add otrs user in /etc/cron.allow
Also: /etc/pam.d/crond
# The PAM configuration file for the cron daemon
auth sufficient pam_rootok.so
account sufficient pam_listfile.so item=user otrs=allow file=/etc/cron.allow onerr=succeed
account sufficient pam_listfile.so item=user root=allow file=/etc/cron.allow onerr=succeed
#
# No PAM authentication called, auth modules not needed
account required pam_access.so
account include password-auth
session required pam_loginuid.so
session include password-auth
auth include password-auth
Also in /etc/security/access.conf
+ : otrs : cron crond :0 tty1 tty2 tty3 tty4 tty5 tty6
+ : root : cron crond :0 tty1 tty2 tty3 tty4 tty5 tty6
Cron Job
Moderator: crythias