You are not allowed to use this program (crontab)
Question: I’ve received a new server and logon, trying to use Crontab but getting this error message:You (your_logon) are not allowed to use this program (crontab)See crontab(1) for more informationAn
·
问题:
执行crontal -e遇到报错:
You (your_logon) are not allowed to use this program (crontab)
See crontab(1) for more information
解决:
Linux中以下2个文件控制crontab的访问权限:
/etc/cron.allow
/etc/cron.deny
需要将当前用户加到 /etc/cron.allow
执行命令:
su - root
echo 当前用户名 > /etc/cron.allow
更多推荐
已为社区贡献1条内容
所有评论(0)