Operating System - HP-UX
1842118 Members
2695 Online
110187 Solutions
New Discussion

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