Install ports as non-root user?

Bob Bomar bob at ibsd.us
Tue Jun 28 19:40:59 GMT 2005


On Tue, Jun 28, 2005 at 02:45:59PM -0400, brian.barto at spectrum-health.org wrote:
> Title should have read: Install ports collection as non-root user
> 
> owner-freebsd-questions at freebsd.org wrote:
> > Hi all. I'm looking to make a non-privileged user the owner of all my
> > software so I don't have to act as root when installing, configuring,
> > and updating software. Furthermore, I won't have to give out the root
> > password to others who need rights to configure software. I noticed
> > my ports collection is entirely owned by root and requires root to
> > install. Is there a way to install ports as a non-root user or allow
> > non-root users to install ports?
> > 
> > Thanks,
> > Brian
> 
> I want to ports collection to be owned by a non-root user. 
> 
> Someone suggested sudo. Using sudo will install the app as root, will it
> not? Thusly requiring root to configure it?

In order to install the port, you have to be root yes, sudo will
allow a command to be run as root, i.e. make install clean.  You 
can configure sudo to only allow the command to be run in a specific
directory.

-- 
Bob Bomar
bob at ibsd.us
-----------------------------
FreeBSD: The Power to Serve
http://www.freebsd.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050628/a62e6578/attachment.bin


More information about the freebsd-questions mailing list