Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 10:28:11 -0800
From:      Yuri <yuri@rawbw.com>
To:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Any way to make pkg use 'sudo' instead of 'su' to install as root?
Message-ID:  <c92eb994-1b9b-57ab-cc19-9ae2b28e6cc9@rawbw.com>

next in thread | raw e-mail | index | archive | help
'make install' calls pkg, which does su to change to the root account. 
su asks for the root password again and again when there are many 
packages to install.

Is there any way to configure this to be 'sudo'?


pkg.conf(5) seems to have no info on this.


Yuri





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c92eb994-1b9b-57ab-cc19-9ae2b28e6cc9>