When viewing the cron entries- (user) are not allowed to use this program (crontab)
Error:
"crontab -l" for non root or oracle user fails with following error:
$ crontab -l
You (user) are not allowed to use this program (crontab)
Reason:
Incorrect permissions for /usr/bin/crontab
Below shows the correct permissions.
Setuid permission is needed for /usr/bin/crontab as shown below:
# ls -l /usr/bin/crontab
-rwsr-xr-x. 1 root root 57664 Apr 19 16:16 /usr/bin/crontab
Solution:
Add setuid permission
# chmod u+s /usr/bin/crontab
Post a Comment
Post a Comment