public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] vixie cron: PAM ERROR
@ 2014-02-25 15:59 Grant Edwards
  2014-02-25 16:58 ` Nilesh Govindrajan
  2014-02-25 17:22 ` [gentoo-user] " Grant Edwards
  0 siblings, 2 replies; 4+ messages in thread
From: Grant Edwards @ 2014-02-25 15:59 UTC (permalink / raw
  To: gentoo-user

On a newly installed system, I'm getting error messages from vixie cron
about PAM authentication errors:

Feb 25 09:52:01 alpha crond[23085]: (root) PAM ERROR (Authentication failure)
Feb 25 09:52:01 alpha crond[23085]: (root) FAILED to authorize user with PAM (Authentication failure)
Feb 25 09:53:01 alpha cron[23118]: (root) CMD (echo "cron ran at $(date)" >>/tmp/cron.out)
Feb 25 09:53:01 alpha crond[23122]: (root) PAM ERROR (Authentication failure)
Feb 25 09:53:01 alpha crond[23122]: (root) FAILED to authorize user with PAM (Authentication failure)
Feb 25 09:54:01 alpha cron[23153]: (root) CMD (echo "cron ran at $(date)" >>/tmp/cron.out)
Feb 25 09:54:01 alpha crond[23157]: (root) PAM ERROR (Authentication failure)
Feb 25 09:54:01 alpha crond[23157]: (root) FAILED to authorize user with PAM (Authentication failure)
Feb 25 09:55:01 alpha cron[23160]: (root) CMD (echo "cron ran at $(date)" >>/tmp/cron.out)
Feb 25 09:55:01 alpha crond[23164]: (root) PAM ERROR (Authentication failure)
Feb 25 09:55:01 alpha crond[23164]: (root) FAILED to authorize user with PAM (Authentication failure)

AFAICT, it runs the scheduled command except for the very first time.

I get the same results with normal user's crontab entries.

-- 
Grant Edwards               grant.b.edwards        Yow! Wow!  Look!!  A stray
                                  at               meatball!!  Let's interview
                              gmail.com            it!



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] vixie cron: PAM ERROR
  2014-02-25 15:59 [gentoo-user] vixie cron: PAM ERROR Grant Edwards
@ 2014-02-25 16:58 ` Nilesh Govindrajan
  2014-02-25 17:22 ` [gentoo-user] " Grant Edwards
  1 sibling, 0 replies; 4+ messages in thread
From: Nilesh Govindrajan @ 2014-02-25 16:58 UTC (permalink / raw
  To: Gentoo User Mailing List

[-- Attachment #1: Type: text/plain, Size: 1874 bytes --]

On Tue, Feb 25, 2014 at 9:29 PM, Grant Edwards <grant.b.edwards@gmail.com>wrote:

> On a newly installed system, I'm getting error messages from vixie cron
> about PAM authentication errors:
>
> Feb 25 09:52:01 alpha crond[23085]: (root) PAM ERROR (Authentication
> failure)
> Feb 25 09:52:01 alpha crond[23085]: (root) FAILED to authorize user with
> PAM (Authentication failure)
> Feb 25 09:53:01 alpha cron[23118]: (root) CMD (echo "cron ran at $(date)"
> >>/tmp/cron.out)
> Feb 25 09:53:01 alpha crond[23122]: (root) PAM ERROR (Authentication
> failure)
> Feb 25 09:53:01 alpha crond[23122]: (root) FAILED to authorize user with
> PAM (Authentication failure)
> Feb 25 09:54:01 alpha cron[23153]: (root) CMD (echo "cron ran at $(date)"
> >>/tmp/cron.out)
> Feb 25 09:54:01 alpha crond[23157]: (root) PAM ERROR (Authentication
> failure)
> Feb 25 09:54:01 alpha crond[23157]: (root) FAILED to authorize user with
> PAM (Authentication failure)
> Feb 25 09:55:01 alpha cron[23160]: (root) CMD (echo "cron ran at $(date)"
> >>/tmp/cron.out)
> Feb 25 09:55:01 alpha crond[23164]: (root) PAM ERROR (Authentication
> failure)
> Feb 25 09:55:01 alpha crond[23164]: (root) FAILED to authorize user with
> PAM (Authentication failure)
>
> AFAICT, it runs the scheduled command except for the very first time.
>
> I get the same results with normal user's crontab entries.
>
> --
> Grant Edwards               grant.b.edwards        Yow! Wow!  Look!!  A
> stray
>                                   at               meatball!!  Let's
> interview
>                               gmail.com            it!
>
>
>
Sounds like a pam configuration error. Try this?
http://www.shanison.com/2012/02/08/crontab-error-failed-to-open-pam-security-session-success/
There are a couple of other blogs too on Google search, but all of them
describe 'security error'. Your's seems to be different.

[-- Attachment #2: Type: text/html, Size: 2658 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: vixie cron: PAM ERROR
  2014-02-25 15:59 [gentoo-user] vixie cron: PAM ERROR Grant Edwards
  2014-02-25 16:58 ` Nilesh Govindrajan
@ 2014-02-25 17:22 ` Grant Edwards
  2014-02-25 17:28   ` Nilesh Govindrajan
  1 sibling, 1 reply; 4+ messages in thread
From: Grant Edwards @ 2014-02-25 17:22 UTC (permalink / raw
  To: gentoo-user

On 2014-02-25, Grant Edwards <grant.b.edwards@gmail.com> wrote:

> On a newly installed system, I'm getting error messages from vixie cron
> about PAM authentication errors:
>
> Feb 25 09:52:01 alpha crond[23085]: (root) PAM ERROR (Authentication failure)
> Feb 25 09:52:01 alpha crond[23085]: (root) FAILED to authorize user with PAM (Authentication failure)

Doh!  That's not vixie-cron, that's chronie.

> Feb 25 09:53:01 alpha cron[23118]: (root) CMD (echo "cron ran at $(date)" >>/tmp/cron.out)

That's vixie-cron, and it's perfectly happy.

I initially installed chronie (since that's what's shown in the
handbook).  When I couldn't get it working, I removed it and emerged
vixie-cron (which I've never had any trouble with).

I forgot to stop chronie before I uninstalled it.

-- 
Grant Edwards               grant.b.edwards        Yow! I think my career
                                  at               is ruined!
                              gmail.com            



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: vixie cron: PAM ERROR
  2014-02-25 17:22 ` [gentoo-user] " Grant Edwards
@ 2014-02-25 17:28   ` Nilesh Govindrajan
  0 siblings, 0 replies; 4+ messages in thread
From: Nilesh Govindrajan @ 2014-02-25 17:28 UTC (permalink / raw
  To: Gentoo User Mailing List

[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]

On Tue, Feb 25, 2014 at 10:52 PM, Grant Edwards
<grant.b.edwards@gmail.com>wrote:

> On 2014-02-25, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
> > On a newly installed system, I'm getting error messages from vixie cron
> > about PAM authentication errors:
> >
> > Feb 25 09:52:01 alpha crond[23085]: (root) PAM ERROR (Authentication
> failure)
> > Feb 25 09:52:01 alpha crond[23085]: (root) FAILED to authorize user with
> PAM (Authentication failure)
>
> Doh!  That's not vixie-cron, that's chronie.
>
> > Feb 25 09:53:01 alpha cron[23118]: (root) CMD (echo "cron ran at
> $(date)" >>/tmp/cron.out)
>
> That's vixie-cron, and it's perfectly happy.
>
> I initially installed chronie (since that's what's shown in the
> handbook).  When I couldn't get it working, I removed it and emerged
> vixie-cron (which I've never had any trouble with).
>
> I forgot to stop chronie before I uninstalled it.
>
> --
> Grant Edwards               grant.b.edwards        Yow! I think my career
>                                   at               is ruined!
>                               gmail.com
>
>
>
Ah. I use vixie-cron on servers and fcron on desktop. Fcron because it
considers timing according to how much time the system was on while not
accounting shutdowns. So PC doesn't miss cron jobs.

[-- Attachment #2: Type: text/html, Size: 2041 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-25 17:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 15:59 [gentoo-user] vixie cron: PAM ERROR Grant Edwards
2014-02-25 16:58 ` Nilesh Govindrajan
2014-02-25 17:22 ` [gentoo-user] " Grant Edwards
2014-02-25 17:28   ` Nilesh Govindrajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox