[pacman-dev] [PATCH 10/11] makepkg: do not ask sudo password twice

Allan McRae allan at archlinux.org
Thu Jun 17 18:19:52 EDT 2010

On 18/06/10 01:09, Loui Chang wrote:
> On Fri 18 Jun 2010 00:30 +1000, Allan McRae wrote:
>> I think I have found the issue here.   We obviously have a NOPASSWD
>> entry in our sudoers file so "sudo -l" does not require a password.
>> So the bug is confirmed.  However the fix is not fully functional as
>> if I have sudo installed but can not use it for pacman, then I can
>> no longer fall back to using "su -c".  I'd choose excess password
>> typing over functionality loss.
> Why not just take sudo and asroot out of the equation and treat makepkg
> as a real non-handholding executable?

What do you mean?   Remove automatic dependency installation or require 
the entire thin to be run as root?


More information about the pacman-dev mailing list