Bug 400903 - kdesu does not acknowledge NOPASSWD: ALL in sudoers
Summary: kdesu does not acknowledge NOPASSWD: ALL in sudoers
Status: RESOLVED FIXED
: 267399 402547 446947 (view as bug list)
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: KDE3 (show other bugs)
Version: Final
Hardware: Other openSUSE 11.0
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Lubos Lunak
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 15:08 UTC by Forgotten User zhFaldehF_
Modified: 2009-03-02 19:50 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User zhFaldehF_ 2008-06-17 15:08:52 UTC
I have the following in sudoers:

username ALL=(ALL) NOPASSWD: ALL

Previous versions of kdesu ( including the version in RC1 worked as expected ). I updated to the final version yesterday, and now kdesu does not acknolwedge the entry in sudoers and requires password. 

I verified in the shell that sudo works fine without wanting the password.
Comment 1 Forgotten User zhFaldehF_ 2008-06-17 15:17:20 UTC
Tue 27 May 2008 05:00:00 AM PDT
llunak@suse.cz
- fix kdesu not defaulting to sudo anymore (bnc#216796)

I see that in the changelog,

May be duplicate of that bug, but that change log says it was fixed, but clearly hasn't been. 
Comment 2 Lubos Lunak 2008-06-19 11:53:56 UTC
Kdesu now again defaults to using su instead of sudo because of various problems with using sudo there. You can change the default using 'kwriteconfig --file kdesurc --group super-user-command --key super-user-command sudo'.
Comment 3 Lubos Lunak 2008-06-26 14:22:33 UTC
*** Bug 402547 has been marked as a duplicate of this bug. ***
Comment 4 Lubos Lunak 2008-07-07 14:00:57 UTC
*** Bug 267399 has been marked as a duplicate of this bug. ***
Comment 5 Lubos Lunak 2008-11-20 13:11:50 UTC
*** Bug 446947 has been marked as a duplicate of this bug. ***
Comment 6 Elmar Stellnberger 2008-11-26 11:13:55 UTC
> /usr/bin/kdesu -c /sbin/yast2 piwo
 ---> still prompts for password
> sudo /sbin/yast2 piwo
 ---> works
> cat ~/.kde4/share/config/kdesurc
[super-user-command]
super-user-command=sudo
> rpm -qf /usr/bin/kdesu
kdebase4-runtime-4.0.4-26.22
Comment 7 Lubos Lunak 2008-11-26 12:12:43 UTC
We do not use sudo for kdesu for a reason and if you switch it, it's your decision. Feel free to report that problem upstream.
Comment 8 David Rankin 2008-12-21 19:05:19 UTC
Lubos;

    Will somebody please just answer the simple question of "why this won't be fixed?" That way at least everyone will understand your decision to leave this problem unfixed? The common courtesy of providing a little extra information goes a long way toward promoting good-will.

    Thanks
Comment 9 Lubos Lunak 2009-01-05 10:26:20 UTC
We have limited resources and cannot fix every single problem, especially when there are alternatives. As I already said, feel free to report your problems upstream at bugs.kde.org .
Comment 10 Lubos Lunak 2009-01-08 15:02:19 UTC
*** Bug 267399 has been marked as a duplicate of this bug. ***
Comment 11 Elmar Stellnberger 2009-03-02 19:50:32 UTC
Another KDE program, namely kdesudo at kde-apps.org exactly provides the desired functionality:
http://kde-apps.org/content/show.php/KdeSudo?content=72106