[pacman-dev] Patch-proposal for makepkg: be able to use su for installations even if sudo is installed

2015-07-26 Thread Jonas Große Sundrup
Hi, at the moment makepkg will use sudo to obtain root privileges if it is installed, otherwise it will use su. This means that if sudo is configured to only allow special commands (and none of those is pacman), makepkg -i will fail to install the built package. Same goes for installing

Re: [pacman-dev] Patch-proposal for makepkg: be able to use su for installations even if sudo is installed

2015-07-26 Thread Jonas Große Sundrup
Johannes Löthberg wrote: If the user has access to the root password, why is their sudo commands so limited in the first place? For example one could use sudo to whitelist certain commands for certain users, whereas the administrator still uses su for general system maintenance (especially if

Re: [pacman-dev] Patch-proposal for makepkg: be able to use su for installations even if sudo is installed

2015-07-26 Thread Johannes Löthberg
On 26/07, Jonas Große Sundrup wrote: Hi, at the moment makepkg will use sudo to obtain root privileges if it is installed, otherwise it will use su. This means that if sudo is configured to only allow special commands (and none of those is pacman), makepkg -i will fail to install the built