View previous topic :: View next topic |
Author |
Message |
fdamstra n00b
Joined: 11 Feb 2004 Posts: 39 Location: Grand Rapids, MI
|
Posted: Tue Jul 19, 2005 1:32 pm Post subject: Cron Authentication Problem [RESOLVED] |
|
|
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 |
|
|
fdamstra n00b
Joined: 11 Feb 2004 Posts: 39 Location: Grand Rapids, MI
|
Posted: Tue Jul 19, 2005 1:49 pm Post subject: |
|
|
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 |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Wed Jul 20, 2005 12:19 am Post subject: |
|
|
Can you post the exact thread please? I guess others might also want to have a look at it. |
|
Back to top |
|
|
mirmillo n00b
Joined: 10 Jan 2005 Posts: 1
|
Posted: Sun Jul 24, 2005 9:21 pm Post subject: Me too |
|
|
This fixed it for me too. Although I don't recall updating Shadow recently.
Thanks! |
|
Back to top |
|
|
fdamstra n00b
Joined: 11 Feb 2004 Posts: 39 Location: Grand Rapids, MI
|
Posted: Mon Jul 25, 2005 4:59 pm Post subject: |
|
|
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 |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Mon Jul 25, 2005 7:09 pm Post subject: |
|
|
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 |
|
|
|