running port as non-root

Scot Hetzel swhetzel at gmail.com
Fri Nov 30 21:46:24 PST 2007


On 11/30/07, rihad <rihad at 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


More information about the freebsd-ports mailing list