Here's the command that I would like to execute but it seems not to work.
[mdubois@veloce ~]$ crontab -l
Autorisation refusée
You (mdubois) are not allowed to access to (crontab) because of pam configuration.
below is my /etc/pam.d/crond file content
#
# The PAM configuration file for the cron daemon
#
#
# No PAM authentication called, auth modules not needed
account required pam_access.so
account include password-auth
session required pam_loginuid.so
session include password-auth
auth include password-auth
I cannot detect the error because it doesn't appear on the log file of the crontab
[root@veloce ~]# tail -f /var/log/cron
Jul 2 16:01:01 veloce CROND[7482]: (root) CMD (run-parts /etc/cron.hourly)
Jul 2 16:01:01 veloce run-parts(/etc/cron.hourly)[7482]: starting 0anacron
Jul 2 16:01:01 veloce run-parts(/etc/cron.hourly)[7491]: finished 0anacron
Jul 2 16:10:01 veloce CROND[8611]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jul 2 16:20:01 veloce CROND[9940]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jul 2 16:26:45 veloce crond[10807]: (CRON) STARTUP (1.4.4)
Jul 2 16:26:45 veloce crond[10807]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 71% if used.)
Jul 2 16:26:45 veloce crond[10807]: (CRON) INFO (running with inotify support)
Jul 2 16:26:45 veloce crond[10807]: (CRON) INFO (@reboot jobs will be run at computer's startup.)
Jul 2 16:30:01 veloce CROND[11312]: (root) CMD (/usr/lib64/sa/sa1 1 1)
I'm running RedHat 6.6 Santiago on my server.
It would be great if someone could help me. Thanks in advance.
PS: I have already included the user id in the /etc/cron.allow file