ITPub博客

首页 > Linux操作系统 > Linux操作系统 > crontab工具报错crontab:you are not authorized to use cron.Sorry.

crontab工具报错crontab:you are not authorized to use cron.Sorry.

原创 Linux操作系统 作者:shytodear 时间:2014-10-15 12:58:39 0 删除 编辑
1、oracle用户下执行crontab -l 报错:
$ crontab -l
crontab:you are not authorized to use cron. Sorry.


2、解决方法:
--到root用户下,修改文件cron.allow,添加oracle
# cd /var/adm/cron
# vi cron.allow
root
adm
uucp
oracle

3、先执行crontab -e添加定时任务,才能crontab -l查看:
$ crontab -l
crontab: can't open your crontab file.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27126919/viewspace-1299421/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-11-05

  • 博文量
    66
  • 访问量
    238107