Bug 283353 - kauth does not (pre)select current user when several users, including the current, have 'sudo' rights
Summary: kauth does not (pre)select current user when several users, including the cur...
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: 4.9.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks: extramile
  Show dependency treegraph
 
Reported: 2011-10-04 21:57 UTC by Achim Bohnet
Modified: 2017-11-29 14:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Bohnet 2011-10-04 21:57:11 UTC
Version:           4.7 (using KDE 4.7.1) 
OS:                Linux

When more that one users have can use sudo to gain root priviledge, the kauth dialog shows a popdown menu that lists all those users.  If the current user is
one of them, the user is not preselected, forcing the user to always first select
it's own identity before entering the password.  Instead of typing thw pw right away.

Reproducible: Always

Steps to Reproduce:
Create several users that are allowed to access root via sudo.

select any action that requires root priviledge, e.g. kpackagekit, muon

Actual Results:  
kauth dialog pops up with a popdown menu that lists all users with sudo-as-root right.  None of those identies is (pre)selected

Expected Results:  
If the current use is one of the user with sudo-as-root right.  Preselect the user, so he/she can immediately typ it's password, without forcing him/her to selecting the username first.
Comment 1 Nate Graham 2017-11-29 14:03:18 UTC
This works as requested in the Plasma 5 version.