Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cron Authentication Problem [RESOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
fdamstra
n00b
n00b


Joined: 11 Feb 2004
Posts: 39
Location: Grand Rapids, MI

PostPosted: Tue Jul 19, 2005 1:32 pm    Post subject: Cron Authentication Problem [RESOLVED] Reply with quote

After I 'emerge -u world' this morning, Vixie-Cron won't run jobs as other users. That is, in /etc/crontab I have a line:
Code:
*/5 * * * * apache  php /var/www/localhost/htdocs/cacti/poller.php

Which should run poller as the 'apache' user.

In /var/log/messages, I see the line:
Quote:
Jul 19 09:20:01 src@monitor02 cron[19225]: Authentication service cannot retrieve authentication info.


This seems suspiciously similar to the "can't su root" problem, except that I can su to root. Today's updates included packages 'pam', 'pam-login', and 'shadow'; and that's where my suspicions lie, but I can't figure out the problem.

I've unmerged and remerged vixie-cron, and am going to reemerge the three packages above, though I don't expect this to help.

Any other ideas?
Back to top
View user's profile Send private message
fdamstra
n00b
n00b


Joined: 11 Feb 2004
Posts: 39
Location: Grand Rapids, MI

PostPosted: Tue Jul 19, 2005 1:49 pm    Post subject: Reply with quote

Thanks to a related thread regarding postfix, I found the solution. The 'shadow' package apparently stomped /etc/shadow.

Running 'pwconv' rebuilt /etc/shadow with all the daemon users, and it appears to be working now.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Wed Jul 20, 2005 12:19 am    Post subject: Reply with quote

Can you post the exact thread please? I guess others might also want to have a look at it. :)
Back to top
View user's profile Send private message
mirmillo
n00b
n00b


Joined: 10 Jan 2005
Posts: 1

PostPosted: Sun Jul 24, 2005 9:21 pm    Post subject: Me too Reply with quote

This fixed it for me too. Although I don't recall updating Shadow recently.

Thanks!
Back to top
View user's profile Send private message
fdamstra
n00b
n00b


Joined: 11 Feb 2004
Posts: 39
Location: Grand Rapids, MI

PostPosted: Mon Jul 25, 2005 4:59 pm    Post subject: Reply with quote

Deathwing00 wrote:
Can you post the exact thread please? I guess others might also want to have a look at it. :)

I believe this is the thread. postgres, not postfix, my bad.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Mon Jul 25, 2005 7:09 pm    Post subject: Reply with quote

fdamstra wrote:
Deathwing00 wrote:
Can you post the exact thread please? I guess others might also want to have a look at it. :)

I believe this is the thread. postgres, not postfix, my bad.


Moved to Duplicate Threads.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum