System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

enable user to have access to crontab file of a specified user

help-mohamkha87
Occasional Visitor

enable user to have access to crontab file of a specified user

how we can privileged a user to use "crontab [ -e, -l, or -r options] username" , to edit, list, or remove the
crontab file of a specified user.

3 REPLIES
Dennis Handly
Acclaimed Contributor

Re: enable user to have access to crontab file of a specified user

root can do this exactly like you specified.

help-mohamkha87
Occasional Visitor

Re: enable user to have access to crontab file of a specified user

Hello,

but my question is how wecan do that?

 

Patrick Wallek
Honored Contributor

Re: enable user to have access to crontab file of a specified user

The only user that can edit a different users crontab is root.

 

If you want usera to be able to edit the crontab file for userb then you will have to use something like 'sudo' to allow that.