On the Mac OS X you cannot run as root, you have to use sudo every time. If you want to put something in your cron, this can be difficult.
One solution is to use visudo and the sudoers.
On Fedora, you will have to remove Defaults requiretty from the /etc/sudoers.
Otherwise you will get the error : sudo: sorry, you must have a tty to run sudo
Thanks to : ProgX and Google.
This entry was posted on Tuesday, December 12th, 2006 at 10:46 pm and is filed under linux. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.