Version: (using KDE 4.2.3) OS: Linux Installed from: Debian testing/unstable Packages I understand that kdesu is somewhat on the neglected list what with PolicyKit poised to replace it, but it would still be nice to have an easier way to configure it. Basically, I run a Debian system that has the root account locked out and set to a random password like K/Ubuntu. Programs which need root access use su instead of sudo meaning that they prompt for root's password and fail because I don't know it. After an hour or two of searching on Google, and with quite a bit of luck in your search terms, it is possible to discover that one needs to create a ~/.kde/share/config/kdesurc file to tell KDE to use sudo instead of su. It would be nice, though, to either have this option available in systemsettings or documentation either in docs.kde.org or KDE's help system to tell users how to create this file so they can shave an hour off their configuration headaches.
hmm, well, yeah - see bug 20914 comment 34
Issue still present in 4.6. I know PolicyKit handles these things for most of KDE now, but GTK programs (like Synaptic) still use sudo. Until all software talks to each other using the same standards, KDE still needs to support sudo and this should be documented.
*** Bug 182742 has been marked as a duplicate of this bug. ***
This issue is still relevant, e.g. partitionmanager uses kdesu to gain root access. For those needing to use sudo, there's a nice description of how to do so here: http://www.freetechie.com/blog/default-kdesu-to-use-sudo-and-not-su/ My opinion: kdesu should either automatically use sudo when sudo allows the current operation (using su as a fallback), or when the GUI prompts for the root password it should give the option of using either su or sudo.
I'm experiencing this as well. A simple GUI box making the need for this clear would be nice, since without some googling it's impossible to for instance run the KDE partitionmanager on debian stretch, without a root account. If anyone else lands on this bug looking for a solution, there's a guide to configure kdesu on https://wiki.archlinux.org/index.php/sudo#kdesu.