systemd-manager icon indicating copy to clipboard operation
systemd-manager copied to clipboard

Don't ask for password when sudo is allowed

Open marcelopbarros opened this issue 2 years ago • 0 comments

Uses sudo -V to guarantee sudo is installed (just to be sure). Execute sudo -n which will fail if it needs a password. Execute pkexec otherwise.

Resolves #7

marcelopbarros avatar Jan 15 '22 13:01 marcelopbarros