<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>283353</bug_id>
          
          <creation_ts>2011-10-04 21:57:11 +0000</creation_ts>
          <short_desc>kauth does not (pre)select current user when several users, including the current,  have &apos;sudo&apos; rights</short_desc>
          <delta_ts>2017-11-29 14:03:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>kdecore</component>
          <version>4.9.1</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>303462</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Achim Bohnet">ach</reporter>
          <assigned_to name="kdelibs bugs">kdelibs-bugs-null</assigned_to>
          <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>20</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1170136</commentid>
    <comment_count>0</comment_count>
    <who name="Achim Bohnet">ach</who>
    <bug_when>2011-10-04 21:57:11 +0000</bug_when>
    <thetext>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&apos;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&apos;s password, without forcing him/her to selecting the username first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1714218</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2017-11-29 14:03:18 +0000</bug_when>
    <thetext>This works as requested in the Plasma 5 version.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>