CRON信息解决办法 作者: Hogwarts 发布于: 2024-08-08 更新于: 2024-08-08 分类: 默认分类 #问题 认证日志/var/log/auth.log反复出现CRON信息 Aug 8 19:57:01 debian CRON[1982820]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0) Aug 8 19:57:02 debian CRON[1982741]: pam_unix(cron:session): session closed for user root Aug 8 19:58:01 debian CRON[1982899]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0) Aug 8 19:58:03 debian CRON[1982820]: pam_unix(cron:session): session closed for user root Aug 8 19:59:01 debian CRON[1982975]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0) Aug 8 19:59:05 debian CRON[1982899]: pam_unix(cron:session): session closed for user root #解决 vim /etc/pam.d/common-session-noninteractive 在session required pam_unix.so前添加下行 session [success=1 default=ignore] pam_succeed_if.so service in cron quiet use_uid service cron restart #抄录地址 [auth.log大量出现pam_unix(cron:session): session opened for user root by (uid=0)解决办法](https://www.cnblogs.com/azureology/p/15114686.html "auth.log大量出现pam_unix(cron:session): session opened for user root by (uid=0)解决办法") 标签: cron