Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 11:04:57 -0400
From:      "Daniel Staal" <DStaal@usa.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: build ports from not a root user?
Message-ID:  <80674226c5ead62b213864dcd36b6a75.squirrel@www.magehandbook.com>
In-Reply-To: <20110721100259.GA5326@external.screwed.box>
References:  <20110721100259.GA5326@external.screwed.box>

next in thread | previous in thread | raw e-mail | index | archive | help

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.
---------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80674226c5ead62b213864dcd36b6a75.squirrel>