19 November, 2006

Support for sudo in kdesu

At last, with the release of KDE 3.5.5, kdesu has gained support for sudo. Now you can use it on rootless systems, just like Kubuntu does. By default, it still use su and asks for the root password, and there is no nice configuration interface to change that behavior. To use sudo, you need to make some config file editions. Insert

[super-user-command]
super-user-command=sudo

into ~/.kde/share/config/kdesurc (you may also create the file if it does not exist). After that, kdesu will ask for your own password (of course assuming that you are sudoer) instead of the root password.