Similar to this question, I would like to alter a user's crontab file as root. I'm able to view the crons, but unable to alter or edit them. To view them, I use the following:

sudo crontab -l -u <user>
  • If you have root you could always sudo su <user> and use cron normally.
    – Centimane
    Sep 21, 2016 at 13:17

1 Answer 1


To alter a user's crontab with root privileges, run the following command:

sudo crontab -u <user> -e

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .