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

Jonas Große Sundrup jonas-aml at letopolis.de
Sun Jul 26 23:48:12 UTC 2015


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 the administrator is not really using that
system and basically just uses the root-account for system maintenance;
for building packages you could easily do "su pkguser" as root without
needing a password and build packages that way).

An other option is using sudo to whitelist network-related stuff to be
able to switch networks or run "netctl-auto list" without entering a
password etc. and use su for password-protected root-operations.
If you combine that with an autologin for the user, the user doesn't
even have to remember the userpassword.

In both scenarios one would need su for packet installations while sudo
is still installed.


  ~ Jonas


More information about the pacman-dev mailing list