Date: Fri, 20 Mar 1998 14:58:41 -0600 (CST) From: "Matthew D. Fuller" <fullermd@futuresouth.com> To: derek laufenberg <laufen@wi.net> Cc: freebsd questions <FreeBSD-questions@FreeBSD.ORG> Subject: Re: starting a server at boot Message-ID: <Pine.BSF.3.96.980320142440.20071h-100000@shell.futuresouth.com> In-Reply-To: <Pine.BSF.3.96.980320124408.1319A-100000@chardonnay.vineyard>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Mar 1998, derek laufenberg wrote: > This is a basic unix question, but I dont know the normal way this is > done. After bootup I want to start a series of network daemons. > I'd like to start them from rc.local, but I don't want this stuff running > as root. > > What is the standard BSD (if there is one) way to do this sort of thing? > I thought about using inetd, but this software was not designed for > that kind of use. It may work - I'm trying it now. The 'Right Way' (from man su): EXAMPLES su man -c catman Runs the command catman as user man. You will be asked for man's password unless your real UID is 0. su man -c 'catman /usr/share/man /usr/local/man /usr/X11R6/man' Same as above, but the target command constitutes of more than a single word. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* 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?Pine.BSF.3.96.980320142440.20071h-100000>