Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

Cron Authentication Problem [RESOLVED]

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
fdamstra
n00b
n00b
Posts: 39
Joined: Wed Feb 11, 2004 1:44 pm
Location: Grand Rapids, MI
Contact:
Contact fdamstra
Website

Cron Authentication Problem [RESOLVED]

  • Quote

Post by fdamstra » Tue Jul 19, 2005 1:32 pm

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: Select all

*/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:
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?
Top
fdamstra
n00b
n00b
Posts: 39
Joined: Wed Feb 11, 2004 1:44 pm
Location: Grand Rapids, MI
Contact:
Contact fdamstra
Website

  • Quote

Post by fdamstra » Tue Jul 19, 2005 1:49 pm

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.
Top
Deathwing00
Bodhisattva
Bodhisattva
User avatar
Posts: 4087
Joined: Fri Jun 13, 2003 9:07 pm
Location: Berlin, Germany
Contact:
Contact Deathwing00
Website

  • Quote

Post by Deathwing00 » Wed Jul 20, 2005 12:19 am

Can you post the exact thread please? I guess others might also want to have a look at it. :)
Top
mirmillo
n00b
n00b
Posts: 1
Joined: Mon Jan 10, 2005 8:58 pm

Me too

  • Quote

Post by mirmillo » Sun Jul 24, 2005 9:21 pm

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

Thanks!
Top
fdamstra
n00b
n00b
Posts: 39
Joined: Wed Feb 11, 2004 1:44 pm
Location: Grand Rapids, MI
Contact:
Contact fdamstra
Website

  • Quote

Post by fdamstra » Mon Jul 25, 2005 4:59 pm

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.
Top
Deathwing00
Bodhisattva
Bodhisattva
User avatar
Posts: 4087
Joined: Fri Jun 13, 2003 9:07 pm
Location: Berlin, Germany
Contact:
Contact Deathwing00
Website

  • Quote

Post by Deathwing00 » Mon Jul 25, 2005 7:09 pm

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.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy