Date: Sat, 10 Nov 2001 09:24:56 -0500 From: "Kutulu" <kutulu@kutulu.org> To: "Alan Gerber" <agerber@unity.ncsu.edu>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Run program as different user Message-ID: <010f01c169f3$79613e30$88682518@longhill1.md.home.com> References: <KJELJICNOFNHBNGEPFEKCEAGCDAA.agerber@unity.ncsu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "Alan Gerber" <agerber@unity.ncsu.edu> > I recently began playing with the concept of starting a daemon at startup > (from what I gather, I should put the initialization commands into > rc.local), but the tough part is that I need this program run in a non-root > environment (ie- not as root!). Is there a good way to do this? Please > respond to my email address (not the list), because I am not subscribed yet. Add a cron job for the correct user, specify "@reboot" in place of all 5 time fields. 'man 5 crontab' for more details. --K To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010f01c169f3$79613e30$88682518>