Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2005 15:40:52 -0400
From:      Bob Bomar <bob@ibsd.us>
To:        brian.barto@spectrum-health.org
Cc:        questions@freebsd.org
Subject:   Re: Install ports as non-root user?
Message-ID:  <20050628194052.GB31217@chaos.fxp.org>
In-Reply-To: <B6532FAEDD53D94ABDBFB24C35EF77300A34F05E@dcmsmsg01.spectrum-health.org>
References:  <B6532FAEDD53D94ABDBFB24C35EF77300A34F05E@dcmsmsg01.spectrum-health.org>

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

--p4qYPpj5QlsIQJ0K
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 28, 2005 at 02:45:59PM -0400, brian.barto@spectrum-health.org w=
rote:
> Title should have read: Install ports collection as non-root user
>=20
> owner-freebsd-questions@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?
> >=20
> > Thanks,
> > Brian
>=20
> I want to ports collection to be owned by a non-root user.=20
>=20
> 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=20
can configure sudo to only allow the command to be run in a specific
directory.

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


--p4qYPpj5QlsIQJ0K
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCwafE9Jm/aTrtdKoRAi7jAKCEmpppIVGRlFdHjx/rX4kFYZfTQgCcDK4Q
ntVsukn4/XSxa+qebMyjpj0=
=sjvg
-----END PGP SIGNATURE-----

--p4qYPpj5QlsIQJ0K--



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