1 |
On Tue, Feb 25, 2014 at 9:29 PM, Grant Edwards <grant.b.edwards@×××××.com>wrote: |
2 |
|
3 |
> On a newly installed system, I'm getting error messages from vixie cron |
4 |
> about PAM authentication errors: |
5 |
> |
6 |
> Feb 25 09:52:01 alpha crond[23085]: (root) PAM ERROR (Authentication |
7 |
> failure) |
8 |
> Feb 25 09:52:01 alpha crond[23085]: (root) FAILED to authorize user with |
9 |
> PAM (Authentication failure) |
10 |
> Feb 25 09:53:01 alpha cron[23118]: (root) CMD (echo "cron ran at $(date)" |
11 |
> >>/tmp/cron.out) |
12 |
> Feb 25 09:53:01 alpha crond[23122]: (root) PAM ERROR (Authentication |
13 |
> failure) |
14 |
> Feb 25 09:53:01 alpha crond[23122]: (root) FAILED to authorize user with |
15 |
> PAM (Authentication failure) |
16 |
> Feb 25 09:54:01 alpha cron[23153]: (root) CMD (echo "cron ran at $(date)" |
17 |
> >>/tmp/cron.out) |
18 |
> Feb 25 09:54:01 alpha crond[23157]: (root) PAM ERROR (Authentication |
19 |
> failure) |
20 |
> Feb 25 09:54:01 alpha crond[23157]: (root) FAILED to authorize user with |
21 |
> PAM (Authentication failure) |
22 |
> Feb 25 09:55:01 alpha cron[23160]: (root) CMD (echo "cron ran at $(date)" |
23 |
> >>/tmp/cron.out) |
24 |
> Feb 25 09:55:01 alpha crond[23164]: (root) PAM ERROR (Authentication |
25 |
> failure) |
26 |
> Feb 25 09:55:01 alpha crond[23164]: (root) FAILED to authorize user with |
27 |
> PAM (Authentication failure) |
28 |
> |
29 |
> AFAICT, it runs the scheduled command except for the very first time. |
30 |
> |
31 |
> I get the same results with normal user's crontab entries. |
32 |
> |
33 |
> -- |
34 |
> Grant Edwards grant.b.edwards Yow! Wow! Look!! A |
35 |
> stray |
36 |
> at meatball!! Let's |
37 |
> interview |
38 |
> gmail.com it! |
39 |
> |
40 |
> |
41 |
> |
42 |
Sounds like a pam configuration error. Try this? |
43 |
http://www.shanison.com/2012/02/08/crontab-error-failed-to-open-pam-security-session-success/ |
44 |
There are a couple of other blogs too on Google search, but all of them |
45 |
describe 'security error'. Your's seems to be different. |