SubconsciousCompute / meta-package-manager

A meta package manager for interfacing with multiple distro/platform specific package managers.
GNU Affero General Public License v3.0
3 stars 2 forks source link

Elevate privilages only when needed #25

Closed VoltaireNoir closed 7 months ago

VoltaireNoir commented 7 months ago

mpm CLI attempts to elevate privileges for all commands. Commands such as help, search, list, managers, etc do not require sudo privileges. Since the password is asked for every command, this negatively affects the user experience.

Solution

dilawar commented 7 months ago

This has been fixed in #27 . Using sudo crate. It doesn't work on Windows though.