vinifmor / bauh

Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications
zlib License
974 stars 71 forks source link

suggestion: add option to disable password prompt #318

Open XDM-Inc opened 1 year ago

XDM-Inc commented 1 year ago

I have disabled sudo password for my account so no apps would ask for that password but no matter what bauh still ask for passwords. it would be nice to have the option to remove the password prompt.

vinifmor commented 1 year ago

are you running as the root user as well or just disabled the prompt ?

XDM-Inc commented 1 year ago

im not running as root, just disabled polkit and sudoers prompts should i have bauh run as sudo?

vinifmor commented 1 year ago

You can run bauh with sudo as well if you don't want to type the password, but the suggested behavior is valid ("do not prompt if no password is required").

t9999clint commented 1 year ago

I use bauh to manage apps in my distrobox containers so I would like to have a option where it doesn't even try to run the commands as root. Is there a way to trick it into thinking it's already running as root?