*BSD News Article 55108


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!spool.mu.edu!uwm.edu!reuter.cse.ogi.edu!news.willamette.edu!news.orst.edu!news.uidaho.edu!usenet
From: Faried Nawaz <fn@uidaho.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How do you start non-root daemon?
Date: 17 Nov 1995 12:36:53 -0800
Organization: People's Front Against WWW
Lines: 11
Sender: nawaz921@waldrog.cs.uidaho.edu
Distribution: world
Message-ID: <im91lf7zbu.fsf@waldrog.cs.uidaho.edu>
References: <48de1p$40l@shore.shore.net>
Reply-To: fn@uidaho.edu
NNTP-Posting-Host: waldrog.cs.uidaho.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
In-reply-to: witr@spooky.rwwa.com's message of 15 Nov 1995 19:11:53 GMT
X-Newsreader: Gnus v5.0.9

In article <48de1p$40l@shore.shore.net> witr@spooky.rwwa.com writes:

$ What is the proper FreeBSD way to start (say from rc.local) a
$ daemon that needs to run with some UID *other* than root?

echo proggie -args | su -m otheruid


$ I'm used to the Sysv ``su -C'' way...

that is certainly the behavior of -current; -stable too, perhaps.