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

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

 
Highlighted
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 3
Highlighted
Acclaimed Contributor

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

root can do this exactly like you specified.

Highlighted
Occasional Visitor

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

Hello,

but my question is how wecan do that?

 

Highlighted
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.