传统运维 - you (root) are not allowed to access to (crontab) because of pam configuration.

2022-04-12

cp /etc/pam.d/crond /etc/pam.d/crond.bak
vim /etc/pam.d/crond

account    sufficient   pam_access.so
account    include    system-auth
session    sufficient   pam_loginuid.so
session    include    system-auth
auth       sufficient pam_rootok.so
auth       required   pam_env.so
auth       include    system-auth


标题:传统运维 - you (root) are not allowed to access to (crontab) because of pam configuration.
地址:https://blog.njqhome.com:8443/articles/2022/04/12/1649731722394.html