Subject: Re: Using sudo?
To: Jon Miner <>
From: Simon Burge <>
List: tech-pkg
Date: 10/10/2000 11:57:37
Jon Miner wrote:

> It occurs to me that it would be nice if the pkgsrc detected if sudo was
> installed on a machine and used that instead of "su" directly to install
> software...
> Has anybody looked into that?

Not automagic detection, but I have in my /etc/mk.conf:

	SU_CMD?=  priv sh -c

and this works well.

Simon Burge                            <>
NetBSD Sales, Support and Service: