Friday 28 June 2013

You (root) are not allowed to access to (crontab) because of pam configuration.


Error Massage :

# crontab -e
    Permission denied
    You (root) are not allowed to access to (crontab) because of pam configuration.

Solution :

open with vi /etc/pam.d/crond
#
# The PAM configuration file for the cron daemon
#
#
# No PAM authentication called, auth modules not needed
account    required   pam_access.so
to
#account    required   pam_access.so

account    include    password-auth
session    required   pam_loginuid.so
session    include    password-auth
auth       include    password-auth

Problem would be resolved.
~                                  

No comments:

Post a Comment

Install XRDP in Centos 7

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum update yum groupinstall "GNOME Desktop" ...