Bug 340311

Summary: kdesu should name the user whose password is being requested
Product: [openSUSE] openSUSE 11.0 Reporter: Carlos Lange <carlosflange>
Component: KDE4 WorkspaceAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None CC: fkamogee
Version: Alpha 3   
Target Milestone: ---   
Hardware: 32bit   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Carlos Lange 2007-11-08 17:41:34 UTC
When /etc/sudoers is modified to authenticate with user's password, kdesu also authenticates only with user's password, but the pop-up window text mentions incorrectly the root password.

In order to give every student in the lab control over their workstation without needing the root password, I modified /etc/sudoers with:
  User_Alias FULLADMIN = clange,slange
  Defaults:FULLADMIN authenticate
  FULLADMIN  PLACE = PASSWD: ALL

Since kdesu wraps around sudo, it also requires the user password to authenticate. This is a feature of kdesu, not a bug, as explained in Bug 339922.

But sudo informs correctly which password is being requested:
  > sudo mount
  clange's password:
(or slange's password  if slange is logged in) while the kdesu pop-up window misleadingly asks to "Please enter the Administrator (root) password to continue."

I suggest that the pop-up window mentions the proper user, whose password is being requested, as with sudo in the command line.
Comment 1 Stephan Binner 2007-11-19 09:00:42 UTC
*** Bug 244445 has been marked as a duplicate of this bug. ***
Comment 2 Lubos Lunak 2008-05-02 13:02:45 UTC
Kdesu now again uses su, so it's always the root's password.


*** This bug has been marked as a duplicate of bug 216796 ***