Edit crontab of another user (linux/ubuntu)

Root access or sudo rights is required to perform this.

#crontab manpage
crontab [ -u user ] { -l | -r [ -i ] | -e }

#Example for editing crontab for user "anotheruser"
sudo crontab -u anotheruser -e

#Example for listing crontab for user "anotheruser"
sudo crontab -u anotheruser -l