Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 19:08:18 -0400
From:      Jud <jud@myrealbox.com>
To:        questions@freebsd.org, swear@attbi.com (Gary W. Swearingen)
Subject:   Re: docs on building & installing ports as non-root
Message-ID:  <RMXVG53V61LH7661WVYTXR06TNWT71.3d826fe2@sparky>

next in thread | raw e-mail | index | archive | help
9/13/2002 3:00:59 AM, swear@attbi.com (Gary W. Swearingen) wrote:

>I've spent several hours trying to find some article I thought I saw
>about a month which explained how to build and install from ports
>without having to run as root in order to have write-access to the
>/usr/ports and /usr/local trees.  Anybody remember seeing such a
>document lately, or one like it?  The handbook says: "You must be the
>root user to install ports."  The ports are nice, but I miss the
>build-from-tarball days when you could install apps as a normal user.
>
>(I know I should be able to figure something out from info in
>/usr/ports/Mk/bsd.port.mk, but there seems to be too many unknowns.)
>I don't know how you'd make changes to /var/db/pkg without being
>root, but maybe it's OK to have other databases owned by other
>users.  I'd be willing to drop protections on /var/db/pkg to be
>able to run all those scary build & install scripts as non-root.)
>
>Thanks.

Would op or sudo work for you?  (I think I recall seeing an article about 
sudo in one of the *BSD e-zines.)

Jud






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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