Re: Building new port, don't want to run as root

2008-04-28 Thread Brooks Davis
On Mon, Apr 28, 2008 at 07:27:44PM +0300, Walter Venable wrote: > Matthew Seaman wrote: >> I take it you're talking about a daemon process and you want to have the >> rc.subr scripts start it as another user than root? That's fairly simple. >> >> To make rc.subr start a process using a different

Re: Building new port, don't want to run as root

2008-04-28 Thread Walter Venable
Matthew Seaman wrote: I take it you're talking about a daemon process and you want to have the rc.subr scripts start it as another user than root? That's fairly simple. To make rc.subr start a process using a different UserID, all you need to do is define variables name = foo

Re: Building new port, don't want to run as root

2008-04-27 Thread Matthew Seaman
Walter Venable wrote: Hi all, I'm working on a patch to upgrade a port I maintain, however the new version (smartly) refuses to be run by root. I fished through the Porter's Handbook a bit but was unable to find anything in particular on running the port as another user. Can anyone point me i

Building new port, don't want to run as root

2008-04-26 Thread Walter Venable
Hi all, I'm working on a patch to upgrade a port I maintain, however the new version (smartly) refuses to be run by root. I fished through the Porter's Handbook a bit but was unable to find anything in particular on running the port as another user. Can anyone point me in the right direction?