Fixing kdesu problems in Kubuntu
Tuesday, October 18th, 2005There seems to be a bug in kdesu causing problems when using sudo instead of su.
Symptom: When trying to switch to admin mode in one of kcontrol’s (or systemsettings) modules, the process fails and presents you kcontrol’s main window (or the same grayed-out module in systemsettings).
To solve this more elegant than just calling kcontrol manually using kdesu (which actually works), you can do the following:
- set password for root (sudo passwd)
- add
[super-user-command]
super-user-command=suto either
~/.kde/share/config/kdeglobals
or
/usr/share/kubuntu-default-settings/kde-profile/default/share/config/kdeglobals
I also posted this to the ubuntu-forums, maybe someone else finds this useful.
