Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 2018 01:38:04 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Yuri <yuri@rawbw.com>, "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Any way to make pkg use 'sudo' instead of 'su' to install as root?
Message-ID:  <5A492E8C.10902@grosbein.net>
In-Reply-To: <c92eb994-1b9b-57ab-cc19-9ae2b28e6cc9@rawbw.com>
References:  <c92eb994-1b9b-57ab-cc19-9ae2b28e6cc9@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
01.01.2018 1:28, Yuri пишет:
> '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'?

Why don't you use "sudo pkg" ?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A492E8C.10902>