By spencer, Sunday, December 20, 2009 · 8:15 pm

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

Add your own comment or set a trackback

Currently no comments

  1. No comment yet

Add your own comment

Powered by WP Hashcash



Follow comments according to this article through a RSS 2.0 feed


Jump to start of page | Jump to posts