linux 普通用户无法使用crontab

来源:互联网 发布:win10程序员桌面壁纸 编辑:程序博客网 时间:2024/06/06 12:23

Condition: If the user has existed, (test:test)

usermod -G test,cron test

In short, add the user to the group 'cron'.

 

If it still doesn't work, try the code below:

 

chmod u+s /usr/bin/crontab


 

原创粉丝点击