Any way to make pkg use 'sudo' instead of 'su' to install as root?

Yuri yuri at rawbw.com
Sun Dec 31 18:28:13 UTC 2017


'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




More information about the freebsd-ports mailing list