I have disabled root login in /etc/security/access.conf and it appears the error message in /var/cron/log
crond[PID]: (root) FAILED to authorize user with PAM (Permission denied)
The fixed access.conf file looks like
#Allow root only from localhost and cron daemon
+ : root : 127.0.0.1 ::1
+ : root : cron crond :0 tty1 tty2 tty3 tty4 tty5 tty6
- : root : ALL
Enjoy!
No comments:
Post a Comment