kdesudo NOPASSWD: broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KdeSudo |
Won't Fix
|
Undecided
|
Unassigned | ||
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
affected versions: tested on kubuntu 12.04 and 12.10, kdesudo 3.4.2.4-1ubuntu1
1. sudo visudo /etc/sudoers.
put 2 lines similar to these:
me ALL = ( skype : skype ) NOPASSWD: /usr/bin/id
me ALL = ( skype : skype ) NOPASSWD: /usr/bin/xeyes
2. check it: sudo -l
(ALL) ALL
(skype : skype) NOPASSWD: /usr/bin/id
(skype : skype) NOPASSWD: /usr/bin/xeyes
3. check, if sudo works without password:
sudo -u skype id or sudo -u skype xeyes
uid=
YES, it works perfect ... no password needed !!! (except of xeyes "Can't open display")
4. check, if kdesudo works without password:
kdesudo -u skype -c id or kdesudo -u skype -c xeyes
New bugy windows pops up: (see attachment)
id (xeyes) needs addministrative privileges. Please enter password for !!!!!! skype !!!!
I see two bugs:
1. no password should be asked (because kdesudo is "frontend" for sudo ... or is not ??? )
2. it should ask my password (it's basic idea of "sudo")
no longer affects: | launchpad |
Changed in ubuntu: | |
status: | New → Invalid |
kdesudo has moved to KDE infrastructure.
If you feel your bug is still relevant please open a new bug on bugs.kde.org
https:/ /bugs.kde. org/describecom ponents. cgi?product= kdesudo