From owner-freebsd-questions@FreeBSD.ORG Tue Jun 28 19:40:59 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CB5416A41C for ; Tue, 28 Jun 2005 19:40:59 +0000 (GMT) (envelope-from bob@fxp.org) Received: from chaos.fxp.org (chaos.fxp.org [216.155.111.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF97A43D48 for ; Tue, 28 Jun 2005 19:40:58 +0000 (GMT) (envelope-from bob@fxp.org) Received: from localhost (localhost.fxp.org [127.0.0.1]) by chaos.fxp.org (Postfix) with ESMTP id 4856F28424; Tue, 28 Jun 2005 15:40:58 -0400 (EDT) Received: from chaos.fxp.org ([127.0.0.1]) by localhost (chaos.fxp.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05066-05; Tue, 28 Jun 2005 15:40:52 -0400 (EDT) Received: by chaos.fxp.org (Postfix, from userid 1103) id 5445228423; Tue, 28 Jun 2005 15:40:52 -0400 (EDT) Date: Tue, 28 Jun 2005 15:40:52 -0400 From: Bob Bomar To: brian.barto@spectrum-health.org Message-ID: <20050628194052.GB31217@chaos.fxp.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p4qYPpj5QlsIQJ0K" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Virus-Scanned: amavisd-new at fxp.org Cc: questions@freebsd.org Subject: Re: Install ports as non-root user? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Bomar List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 19:40:59 -0000 --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--