Bug #53740 mad behaviour on sudo/su
Submitted: 18 May 2010 9:58 Modified: 25 Nov 2010 15:02
Reporter: Susanne Ebrecht Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:5.2.21 OS:Linux
Assigned to: Maksym Yehorov CPU Architecture:Any

[18 May 2010 9:58] Susanne Ebrecht
Description:
Try to use su -user instead of sudo.

Double click the instance.

Instead of password from the user for su the system is asking for the root password and want to do sudo.

How to repeat:
See above
[30 Jul 2010 17:26] Johannes Taxacher
fixed in release
[25 Nov 2010 14:19] Maksym Yehorov
Prompt which is used to request password depends on:
  - if sudo is used - code displays either 'sudo' or user name obtained from user id under whom the WB process is running. 'sudo' prompt is displayed if mapping of user id to name failed.
  - if su is used, the prompt will contain 'root'.
[25 Nov 2010 15:02] Tony Bedford
An entry has been added to the 5.2.26 changelog:

When using su -user instead of sudo, rather than request the password of the user for invoking the su privilege, MySQL Workbench requested the root password and then attempted to invoke the sudo privilege.