crontab服務已經啓動,定時任務也能添加成功,但是不執行(出現在docker container 內)
解決方案
問題解決
/etc/pam.d/crond
#
# The PAM configuration file for the cron daemon
#
#
# No PAM authentication called, auth modules not needed
account sufficient pam_access.so
account include password-auth
session sufficient pam_loginuid.so
session include password-auth
auth include password-auth
~