Bugzilla – Bug 400903
kdesu does not acknowledge NOPASSWD: ALL in sudoers
Last modified: 2009-03-02 19:50:32 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.
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.
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'.
*** Bug 402547 has been marked as a duplicate of this bug. ***
*** Bug 267399 has been marked as a duplicate of this bug. ***
*** Bug 446947 has been marked as a duplicate of this bug. ***
> /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
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.
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
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 .
Another KDE program, namely kdesudo at kde-apps.org exactly provides the desired functionality: http://kde-apps.org/content/show.php/KdeSudo?content=72106