Gentoo Archives: gentoo-user

From: Nilesh Govindrajan <me@××××××××.com>
To: Gentoo User Mailing List <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Re: vixie cron: PAM ERROR
Date: Tue, 25 Feb 2014 17:29:32
Message-Id: CAHgBc-v9hpg6jj5h-VdWwi7sN8e-iFDSLbyztzkQi-=iNdDX8Q@mail.gmail.com
In Reply to: [gentoo-user] Re: vixie cron: PAM ERROR by Grant Edwards
1 On Tue, Feb 25, 2014 at 10:52 PM, Grant Edwards
2 <grant.b.edwards@×××××.com>wrote:
3
4 > On 2014-02-25, Grant Edwards <grant.b.edwards@×××××.com> wrote:
5 >
6 > > On a newly installed system, I'm getting error messages from vixie cron
7 > > about PAM authentication errors:
8 > >
9 > > Feb 25 09:52:01 alpha crond[23085]: (root) PAM ERROR (Authentication
10 > failure)
11 > > Feb 25 09:52:01 alpha crond[23085]: (root) FAILED to authorize user with
12 > PAM (Authentication failure)
13 >
14 > Doh! That's not vixie-cron, that's chronie.
15 >
16 > > Feb 25 09:53:01 alpha cron[23118]: (root) CMD (echo "cron ran at
17 > $(date)" >>/tmp/cron.out)
18 >
19 > That's vixie-cron, and it's perfectly happy.
20 >
21 > I initially installed chronie (since that's what's shown in the
22 > handbook). When I couldn't get it working, I removed it and emerged
23 > vixie-cron (which I've never had any trouble with).
24 >
25 > I forgot to stop chronie before I uninstalled it.
26 >
27 > --
28 > Grant Edwards grant.b.edwards Yow! I think my career
29 > at is ruined!
30 > gmail.com
31 >
32 >
33 >
34 Ah. I use vixie-cron on servers and fcron on desktop. Fcron because it
35 considers timing according to how much time the system was on while not
36 accounting shutdowns. So PC doesn't miss cron jobs.