Ubuntu: Getting KDE 4.0 to Accept Your sudo Password

Posted January 21, 2008 by Rob Rogers in Linux

If you’ve installed the latest and greatest KDE, it hasn’t taken long for you to notice that it won’t accept your sudo password when it needs to run an application with administrative permissions. This is because Ubuntu uses sudo while KDE uses root. Here’s how to fix this:


1. Open a terminal window.

2. Execute the following command:nano ~/.kde4/share/config/kdesurc

3. When the kdesu configuration file opens, input the following:[super-user-command]
super-user-command=sudo

4. Save your changes and close the window.

Your sudo password will now work when administrative permissions are required.

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.