0

When I run GUI programs like gparted or the GUI package manager, it allows me to enter the password for root or pi when it requires sudo privileges. How can I add a user to this list? I added a user to the group sudo and sudoer.d so I can sudo apt-get with this user, but it doesn't show as an option for GUI programs.

0

found the solution, I need to add the user to

/etc/polkit-1/localauthority.conf.d/60-desktop-policy.conf

the old file looked like this

[Configuration]
AdminIdentities=unix-user:pi;unix-user:0

the new files looks like this

[Configuration]
AdminIdentities=unix-user:pi;unix-user:newuser;unix-user:0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.