LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2005, 08:59 PM   #1
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
Users unable to use crontab unless in /etc/shadow


OK, I'm running a number of Debian machines with users authenticating via LDAP. I've basically inherited this network of machines so it's quite a steep learning process. There are a number of things which are broken which I would like to fix.

The first of which is crontab. Crontab works for me because I'm in the /etc/shadow file (I assume this is the reason). Normal users can access crontab (I don't have an allow / deny file) but the actual cron job isn't run. The message I get is "CRON[10557]: Authentication service cannot retrieve authentication info."

Any ideas? I've searched and found that a number of people had this error message when Exim was trying to run a cron job but mailman wasn't in the /etc/shadow file. It's not really viable to add all my users to the /etc/shadow file ...


Thanks in advance,


Nathan.
 
Old 05-02-2005, 09:34 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Not really an answer to your question, but ...

I've just created a local user with NO shadow-entry.
Setting up a cronjob and running it was no problem.

But then, this is slack, and no LDAP anywhere near
it, either ...


Cheers,
Tink
 
Old 05-03-2005, 11:43 PM   #3
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
The problem must be that Cron can't authenticate LDAP users. I don't know how to fix it though, so any ideas would be great!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to update shadow-utils perroduke Linux - Newbie 3 04-26-2005 01:52 PM
Integrating MySQL and shadow passwd users/passwords wenberg Linux - Software 0 03-02-2005 04:02 PM
users crontab twantrd Solaris / OpenSolaris 2 09-11-2004 10:06 AM
Unable to get crontab working carlmarshall Linux - Newbie 9 06-10-2004 03:37 PM
allow users to use crontab on RS/6000 zepplin611 AIX 5 05-28-2004 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration