LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Changing graphical auth method: su-to-root ---> gksudo? (https://www.linuxquestions.org/questions/debian-26/changing-graphical-auth-method-su-to-root-gksudo-856640/)

Hungry ghost 01-16-2011 08:51 AM

Changing graphical auth method: su-to-root ---> gksudo?
 
Hello people, I'm on Debian Sid, and I recently disabled the root account because I want to use only sudo to get admin privileges. The problem I have now is that whenever I want to launch a program that requires admin priveleges, such as synaptic, I must type alt-F2 and execute "gksudo name_of_the_program", because it's impossible to execute from the GUI menu (the menu entries are set to use su-to-root, and since the root account is disabled, this doesn't work). So, is there a way to change the GUI authentication method from su (or su-to-root) to gksudo, so I can launch these applications directly from the menu without the hassle of pressing alt-F2 and typing the commands on the dialog box? I could try to change the menu commands each by each through alacarte, but I'm sure there must be an easier and cleaner way to do this. (BTW, I'm on Gnome).

Greetings, and thanks in advance.

almatic 01-16-2011 09:10 AM

run "gksu-properties" and change "authentication mode" to "sudo".
Alternatively there's also a gconf-key in /apps/gksu where you can alter this setting I believe.

AlucardZero 01-16-2011 09:12 AM

Run "gksu-properties", or run gconf-editor and change /apps/gksu/sudo-mode.

Hungry ghost 01-16-2011 09:18 AM

Great! It worked right as I needed it. I was sure I had seen this program before, but I didn't remember its name (and I didn't find it in the menu). Thanks a lot, folks.

Greetings.


All times are GMT -5. The time now is 06:32 AM.