build ports from not a root user?

Daniel Staal DStaal at
Thu Jul 21 15:04:58 UTC 2011

On Thu, July 21, 2011 6:02 am, Peter Vereshagin wrote:

> I'd like to build my ports from not a root user.
> How can I tell the ports system that it should su ( switch user ) before
> to
> build the dependencies?
> Can portupgrade handle this?
> Dependencies should be installed from a root user.

Install sudo, and (as long as your permissions are set correctly) the
ports system can do everything except the install and configure from a
user in the 'wheel' group.

Daniel Staal

This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.

More information about the freebsd-questions mailing list