Subject: Re: Using sudo?
To: Jon Miner <miner@doit.wisc.edu>
From: Simon Burge <simonb@wasabisystems.com>
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.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Sales, Support and Service: http://www.wasabisystems.com/