gksu behavior on bad password

Bug #773284 reported by Robert Roth
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
libgksu (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: gksu

When running an application with gksu, the password is only asked once, no retries in case of an error. This seems to be a regression, see bug #34467 - Fix released.
Currently, in an up-to-date natty install, when entering an incorrect password in the gksu prompt, the prompt disappears, and nothing happens. The prompt should show an error message and allow retrying, or canceling the prompt -> canceling means the application will not start, entering a correct pass will start the application.
An interesting thing is that running from the terminal gives the following output (please note that I have been asked for the password only once, and entered a wrong password, still it says that there were 3 incorrect attempts, and there were no visible error messages on the interface, only in terminal):

GNOME_SUDO_PASS
Sorry, try again.
GNOME_SUDO_PASS
GNOME_SUDO_PASS
Sorry, try again.
sudo: 3 incorrect password attempts

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gksu 2.0.2-5ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
Date: Fri Apr 29 17:12:07 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gksu
UpgradeStatus: Upgraded to natty on 2011-04-27 (2 days ago)

Revision history for this message
Robert Roth (evfool) wrote :
Revision history for this message
Robert Roth (evfool) wrote :

Setting as Confirmed, as there are valid duplicates of this bug, reported by other users.

Changed in gksu (Ubuntu):
status: New → Confirmed
Revision history for this message
Felix Dreissig (f30) wrote :

Confired, probably more likely a regression to Bug #298217 than to Bug #34467.

Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

I agree that this seem more like bug 298217, since bug 34467 was a design problem where gksu/gksudo would close after any single attempt; I think that earlier bug probably occurred for everyone, where bug 298217, like this bug, occurs only some of the time (or on some systems).

Revision history for this message
tekstr1der (tekstr1der) wrote :

Some info since my bug was duped to this:

This was, and is again, indeed a regression bug supposed fixed in the lucid cycle with bug #298217. It's now made it's way into natty release.

:~$ gksu --debug nautilus
No ask_pass set, using default!
xauth: /tmp/libgksu-OLiqcx/.Xauthority
STARTUP_ID: gksu/nautilus/2982-0-valhalla_TIME2930260
cmd[0]: /usr/bin/sudo
cmd[1]: -H
cmd[2]: -S
cmd[3]: -p
cmd[4]: GNOME_SUDO_PASS
cmd[5]: -u
cmd[6]: root
cmd[7]: --
cmd[8]: nautilus
buffer: -GNOME_SUDO_PASS-
brute force GNOME_SUDO_PASS ended...
Yeah, we're in...
Sorry, try again.
GNOME_SUDO_PASS
Sorry, try again.
sudo: 3 incorrect password attempts
xauth: /tmp/libgksu-OLiqcx/.Xauthority
xauth_env: /var/run/gdm/auth-for-marc-RNfP8U/database
dir: /tmp/libgksu-OLiqcx

tags: added: regression-release
Robert Roth (evfool)
Changed in gksu (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Robert Roth (evfool)
affects: gksu (Ubuntu) → libgksu (Ubuntu)
Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

If this is to be considered a duplicate of bug 298217, should bug 298217 be reopened?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.