I'm trying to configure the /etc/sudoers file to allow a non-administrative user access to certain applications, namely the Update Manager and Ubuntu Software Centre.
I configure the file as follows. The host's name is 'ubuntu', 'luser' is the administrative user and 'mark' is the one I want to grant the necessary privileges to.
As you can see, the file contains the default config plus my 1 extra line.
root ALL=(ALL:ALL) ALL
%admin ALL=(ALL) ALL
%sudo ALL=(ALL:ALL) ALL
If you log in as user 'mark' and run
, I am able to run these with the expected privileges. However, if I run the applications from the Unity menus or dash, it doesn't run with elevated privilege and asks for authentication. It won't accept the password for the 'mark' user but it will accept the password for 'luser' which is the one I used when I installed Ubuntu.
I can't figure out what else I need to do, to make sudo work for the graphical interface. Can anyone help me out?