Bug 346759

Summary: KDESU: No longer accepts root password
Product: [openSUSE] openSUSE 10.3 Reporter: Steve Price <linux>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /etc/sudoers modified file

Description Steve Price 2007-12-07 09:40:30 UTC
After a period of using SuSE 10.3 (and installing various packages) I have ended up in the situation where kdesu no longer accepts the root password with:

"Incorrect password; please try again"

I can happily run su from the command line (using root password); but am unable to  get kdesu to accept the same password.

This has now been seen on 2 totally different machines, both running SuSE 10.3 GM.

Unfortunately, I'm not sure when kdesu stopped working. I'm pretty sure it worked just after the virgin install. All installed packages came from the approved repositories (i.e. those provided in 'community repositories' yast2 dialog)
Comment 1 Lubos Lunak 2007-12-07 10:32:32 UTC
Does it accept your user's password? Have you done any sudo-related changes?
Comment 2 Steve Price 2007-12-12 09:16:55 UTC
Created attachment 187166 [details]
/etc/sudoers modified file
Comment 3 Steve Price 2007-12-12 09:19:12 UTC
1. No, kdesu soes not accept *any* of the passwords defined on this system
2. Yes I have modified /etc/sudoers to allow some web-based apps limited access to some scripts. I have also allowed all users root access to 'build'

I've attached the sudoers file (with commented out sections removed) 
Comment 4 Lubos Lunak 2008-01-25 17:26:29 UTC
Will it work if you revert your sudoers changes?
Comment 5 Steve Price 2008-01-28 17:55:11 UTC
Yes it works fine when I revert back to the original sudoers file.

I've tried stepping back line by line, but I can only get it to work with the original settings.

I really need to be able to support both: I use yast2 a lot (hence the kdesu), but I also use sudo to run the SuSE build (for rpm creation).

I also use my webserver as a gui for in-house maintenance tasks which require the logged in web user to be able to perform specific tasks as a particular user.

Is there any other information I can supply?
Comment 6 Lubos Lunak 2008-05-02 13:06:05 UTC
Run 'kwriteconfig kdesurc --group super-user-command --key super-user-command su' to switch kdesu to use su instead of sudo. In 11.0 this is the default again.


*** This bug has been marked as a duplicate of bug 216796 ***