Subject: Re: pkgsrc without su?
To: None <netbsd-help@netbsd.org>
From: poff <poff@sixbit.org>
List: netbsd-help
Date: 07/27/2003 01:15:46
Basically I am a member of a Public Access system running netbsd on some 
alphas, which has a much faster connection than my dialup.

I want to edit my pkgsrc-wip files from there and commit/import them.

CVS works fine, but I can't "make" without an update pkg_install, which 
isn't available on the system.

I can make pkg_install itself, but when it hits make install it wants to 
su.

Likewise I don't have access to /etc/mk.conf

Is there really no solution for my situation?

P

On Sat, Jul 26, 2003 at 02:41:51PM -0700, Jeremy C. Reed wrote:
> On Sat, 26 Jul 2003, poff wrote:
> 
> > YEs I need to make install without wheel (arpa) and without su!
> 
> Have a look at the "Using 'sudo' with pkgsrc" section in
> pkgsrc/Packages.txt.
> 
> In my /etc/mk.conf, I use:
> 
>   SU_CMD=/usr/pkg/bin/sudo /bin/sh -c
> 
> (If you really didn't want to have any superuser, it gets more difficult.)
> 
>    Jeremy C. Reed
>    http://www.reedmedia.net/

-- 
poff@sixbit.org
SDF Public Access UNIX System - http://sdf.lonestar.org