On topics such as how to run sudo from a cron job

If you want to run sudo from any part of a cron job make sure you comment out the

Defaults requiretty

from /etc/sudoers. Bit me twice now so hopefully I’ll remember next time.

Ed: Apologies to those who have read this before but I had to restore from backup and my last post wasn’t in that backup.

Spencer Shimko 20 December 2009