Running cron jobs as nobody

Bill Campbell freebsd at celestial.com
Thu Oct 2 15:36:48 UTC 2008


You can use ``su -c '/path/to/command' username'' to run scripts as
users other than root.

Another way is to use ``crontab -u username''.  man crontab for
details.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

Of all the contrivances devised for cheating the laboring classes of
mankind, none has been more effective than that which deludes him with
paper money. -- -Daniel Webster


More information about the freebsd-questions mailing list