LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-16-2011, 08:51 AM   #1
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Question 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.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-16-2011, 09:10 AM   #2
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
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.
 
2 members found this post helpful.
Old 01-16-2011, 09:12 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Run "gksu-properties", or run gconf-editor and change /apps/gksu/sudo-mode.
 
1 members found this post helpful.
Old 01-16-2011, 09:18 AM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Original Poster
Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gksudo: Give non-root user access to desktop session? Robhogg Linux - Security 1 04-11-2009 12:57 AM
Automatically start graphical (SDL) program as root on non-graphical Debian the_merovingian Debian 1 03-03-2009 03:20 PM
Changing the mount-by method in openSuSE 10.3 kaplan71 SUSE / openSUSE 3 12-24-2008 08:31 AM
PHP auth method Davus Programming 4 07-31-2005 04:06 PM
Changing dial method in KPPP akr85 Linux - General 2 04-02-2002 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration