kdesudo NOPASSWD: broken

Bug #1094790 reported by novak
6
This bug affects 1 person
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.d/myrules
     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=1010(skype) gid=1010(skype) groups=1010(skype),29(audio),44(video)

     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")

Revision history for this message
novak (novak-ku) wrote :
novak (novak-ku)
no longer affects: launchpad
Changed in ubuntu:
status: New → Invalid
Revision history for this message
Jonathan Riddell (jr) wrote :

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/describecomponents.cgi?product=kdesudo

Changed in kdesudo:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.