Graphical sudo on Debian

Where Penguins and Daemons chill together in the warmth of the Sun.

Moderators: SecretSquirrel, notfred

Graphical sudo on Debian

Postposted on Fri May 18, 2012 8:58 am

One of the things that drives me nuts with Debian is that instead of doing graphical sudo (getting admin privs using an admin-level user's password) it requires the root password for things like running Synaptic. After searching high and low I found a solution that works, at least on GNOME 2.x and MATE.

http://ciffer.net/~svend/blog/entry/Gno ... _password/

Basically you install the gksu package and then issue these commands:
Code: Select all
sudo update-alternatives --set libgksu-gconf-defaults /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo
sudo update-gconf-defaults
Think for yourself, schmuck!
i5-2500K@4.3|Asus P8P67-LE|8GB DDR3-1600|Powercolor R7850 2G|1.5TB 7200.11|1988 Model M|Saitek X-45 & P880|Logitech MX 518|Dell 2209WA|Sennheiser PC151|Asus Xonar DX
bthylafh
Grand Gerbil Poohbah
 
Posts: 3130
Joined: Mon Dec 29, 2003 11:55 pm
Location: Southwest Missouri, USA

Re: Graphical sudo on Debian

Postposted on Sat May 19, 2012 2:15 am

I always wondered what gksudo was for. I just thought the only difference was typing in your admin password in the gui, instead of the terminal. I didn't realize their was a practical function to it.
Change sucks
moresmarterthanspock
Gerbil First Class
 
Posts: 108
Joined: Wed Jan 25, 2012 5:50 pm
Location: Podunk, Idaho


Return to Linux, Unix, and Assorted Madness

Who is online

Users browsing this forum: No registered users and 2 guests