也不用分析,决定就是这 个问题。

# cat /etc/pam.d/crond 
account    required   pam_access.so
account    include    password-auth
#session    required   pam_loginuid.so  #注释此行
session    include    password-auth
auth       include    password-auth