/home/oracle#id
uid=1001(oracle) gid=100(users) groups=16(dialout),33(video),100(users),1000(dba)
/home/oracle#crontab -e
You (oracle) are not allowed to use this program (crontab)
See crontab(1) for more information
uid=1001(oracle) gid=100(users) groups=16(dialout),33(video),100(users),1000(dba)
/home/oracle#crontab -e
You (oracle) are not allowed to use this program (crontab)
See crontab(1) for more information
oracle用户被禁止使用crontab指令
1:查看cron.allow
linux:/etc # cat cron.allow
ecamapp
dbuild
ecamapp
ecamapp
ecamapp
dbuild
ecamapp
ecamapp
2:修改cron.allow,添加oracle用户
linux:/etc # cat cron.allow
ecamapp
dbuild
ecamapp
ecamapp
oracle
ecamapp
dbuild
ecamapp
ecamapp
oracle
3:再次使用crontab -e检查crontab指令是否可用
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28588485/viewspace-755403/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/28588485/viewspace-755403/