Date: Fri, 30 Nov 2007 23:46:20 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: rihad <rihad@mail.ru> Cc: freebsd-ports@freebsd.org Subject: Re: running port as non-root Message-ID: <790a9fff0711302146o17371858s798878a958bfd823@mail.gmail.com> In-Reply-To: <474FB623.9040605@mail.ru> References: <474FB623.9040605@mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/30/07, rihad <rihad@mail.ru> wrote: > Hi, I'm trying to run the net/openradius port as non-root > by first changing /usr/local/etc/rc.d/openradius: > You don't need to modify the startup script to get it to run ${command} as an alternate user. All you need to do is place the following in your /etc/rc.conf file: openradius_user="radius" This will then cause the rc.d script to use su to run ${command} as the radius user. Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0711302146o17371858s798878a958bfd823>