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

I have obviously messed something up with my PAM configuration and received the following error message:

To get around this I amended the file:

And added a line for the root user as follows:

before the final deny line:

One Response to “You (root) are not allowed to access to (crontab) because of pam configuration”

  1. Henry

    check that the permissions for /usr/bin/crontab are correct. If the permissions for /usr/bin/crontab are:
    -rwxr-xr-x. 1 root root 51784 Aug 23 2016 /usr/bin/crontab
    correct them as follows:
    chmod u+s /usr/bin/crontab
    -rwsr-xr-x. 1 root root 51784 Aug 23 2016 /usr/bin/crontab

    This worked for me.

    Reply

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">