Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 1998 14:59:19 -0500
From:      Cory Kempf <ckempf@enigami.com>
To:        derek laufenberg <laufen@wi.net>, freebsd questions <FreeBSD-questions@FreeBSD.ORG>
Subject:   Re: starting a server at boot
Message-ID:  <v04003a07b1387a78c141@[208.140.182.45]>
In-Reply-To: <Pine.BSF.3.96.980320124408.1319A-100000@chardonnay.vineyard>

next in thread | previous in thread | raw e-mail | index | archive | help
At 13:53 -0500 98.03.20, 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.

Use su to change the uid:

>From the su man page:

	su - bin -c "command args"

Ex:	su - operator -c id

+C


--
Thinking of purchasing RAM from the Chip Merchant?  Please read this first:
<http://www.enigami.com/~ckempf/chipmerchant.html>;

Cory Kempf                  Macintosh / Unix Consulting & Software Development
ckempf@enigami.com          <http://www.enigami.com/~ckempf/>;



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?v04003a07b1387a78c141>