Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Resolve cron unable to run error report: FAILED

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Resolve cron unable to run error report: FAILED to authorize user with PAM (Module is unknown)

View the cron running log

Tail-f / var/log/cron

The following error is reported:

May 8 10:14:01 localhost crond [9399]: (root) FAILED to authorize user with PAM (Module is unknown) May 8 10:14:01 localhost crond [9400]: (root) FAILED to authorize user with PAM (Module is unknown)

There are the following solutions on the Internet:

Disable SELinux, you can use the getenforce command to see if it is disabled.

Modify / etc/pam.d/crond to change all required to sufficient, which may work for non-root users.

Account required pam_access.soaccount include password-authsession required pam_loginuid.sosession include password-authauth include password-auth

The final solution:

Restart the crond service

/ etc/init.d/crond restart

Reference: https://zhang.ge/5093.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report