Bug 283353

Summary: kauth does not (pre)select current user when several users, including the current, have 'sudo' rights
Product: [Unmaintained] kdelibs Reporter: Achim Bohnet <ach>
Component: kdecoreAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version: 4.9.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 303462    

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.