Date: Thu, 2 Oct 2008 08:36:46 -0700 From: Bill Campbell <freebsd@celestial.com> To: freebsd-questions@freebsd.org Subject: Re: Running cron jobs as nobody Message-ID: <20081002153646.GA24929@ayn.mi.celestial.com> In-Reply-To: <48E4E4B8.90202@pixelhammer.com> References: <48E4E4B8.90202@pixelhammer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081002153646.GA24929>