Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am transfering crontabs from an old server (centos 5.5) to a a new (centos 6.0) and there is a problem with (the most important) user apache. On the new server I am getting the following:

root@newserver $ crontab -u apache -e

Authentication service cannot retrieve authentication info
You (apache) are not allowed to access to (crontab) because of pam configuration.

How can I overcome this?

share|improve this question
Does… help ? – Iain Jan 9 '13 at 17:57
a bit, i guess the problem is there is no record for apache in /etc/shadow but i am not sure if adding it is correct. – clime Jan 9 '13 at 18:04
All /etc/passwd entries must have a corresponding /etc/shadow entry -- its not just nice its the law. – mdpc Jan 9 '13 at 18:09
up vote 3 down vote accepted

This is being caused because you have no entry for apache in your /etc/shadow file. It should contain a entry like this


I just tested this on a C6.3 system and removing it gives exactly the same error you are seeing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.