Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.sesqui.net!uuneo.neosoft.com!nmtigw!zuul.nmti.com!peter From: peter@nmti.com (Peter da Silva) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How do you start non-root daemon? Date: 16 Nov 1995 16:46:16 GMT Organization: Network/development platform support, NMTI Lines: 13 Message-ID: <48fpso$s6v@zuul.nmti.com> References: <48de1p$40l@shore.shore.net> NNTP-Posting-Host: sonic.nmti.com In article <48de1p$40l@shore.shore.net>, <witr@spooky.rwwa.com> wrote: > What is the proper FreeBSD way to start (say from rc.local) a > daemon that needs to run with some UID *other* than root? > I'm used to the Sysv ``su -C'' way... "su -c" used to work, but it got lost with the 4.4 code base. It should be fixed in 2.1, or you can do 'echo command | su user'... -- Peter da Silva (NIC: PJD2) `-_-' 1601 Industrial Boulevard Bailey Network Management 'U` Sugar Land, TX 77487-5013 +1 713 274 5180 "Har du kramat din varg idag?" USA Bailey pays for my technical expertise. My opinions probably scare them