Bug 349236 - kdesu : Unable to evoke /usr/bin/true without password request, sudo works fine
Summary: kdesu : Unable to evoke /usr/bin/true without password request, sudo works fine
Status: REPORTED
Alias: None
Product: kdesu
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdesu bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-16 14:21 UTC by tormen
Modified: 2022-09-02 14:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tormen 2015-06-16 14:21:42 UTC
Confirmed on my machine and on the machine from someone on IRC.


Reproducible: Always

Steps to Reproduce:
1. Using factory /etc/sudoers, with commented "

2. Adding the line: "tormen ALL= (ALL) NOPASSWD: /usr/bin/true" to /etc/sudoers
3. And evoking "kdesu /usr/bin/true" 




2.
3.

Actual Results:  
"kdesu /usr/bin/true" asks for a password.
(but "sudo /usr/bin/true" does not)

Expected Results:  
"kdesu /usr/bin/true" should behave like sudo and do not ask for a password.

Also adding the line: "tormen ALL= (ALL) NOPASSWD: ALL" to /etc/sudoers
And evoking "kdesu /usr/bin/true" aks for NO passwor 
and neither does calling "sudo /usr/bin/true".

I chose Major, because for a kdesu command I consider this major.
Comment 1 tormen 2015-06-16 14:23:42 UTC
Problem encountered on opensuse 13.2:

kdesu --version
Qt: 4.8.6
KDE Development Platform: 4.14.8
KDE su: 1.0

kdesu is part of kdebase4-runtime:
i | kdebase4-runtime                   | package    | 14.12.3-16.6 | x86_64 | (System Packages)
Comment 2 Justin Zobel 2021-03-09 23:42:28 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.