基于centos7的docker不能正常使用cron任务问题

修改docker centos7镜像对应的容器的/etc/pam.d/crond文件

把required 修改成sufficient,如下:

account    sufficient   pam_access.so
account    include    system-auth
session    sufficient   pam_loginuid.so
session    include    system-auth
auth       include    system-auth

 

相关文章:

  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-10-22
  • 2021-09-16
  • 2021-05-25
猜你喜欢
  • 2021-05-24
  • 2021-05-31
  • 2021-09-28
  • 2021-11-16
  • 2022-12-23
  • 2021-07-21
  • 2021-09-18
相关资源
相似解决方案