编辑apache的crontab

我正在将crontabs从旧服务器(centos 5.5)转换为新的(centos 6.0),并且(最重要的)用户apache出现问题。 在新的服务器上,我得到以下内容:

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. 

我怎样才能克服呢?

这是因为你的/ etc / shadow文件中没有inputapache而导致的。 它应该包含这样的条目

 apache:!!:15168:::::: 

我只是在一个C6.3系统上testing这个,并删除它给出了完全一样的错误,你所看到的。