[Bug 298217] Re: no second attempt and no feedback when wrong password entered

Nobuto MURATA nobuto at nobuto-murata.org
Wed Sep 21 01:30:08 UTC 2011


Indeed libgksu/natty-proposed accepts password 3 times, from this aspect -proposed package works fine.
But gksu outputs "3 incorrect password attempts" per 1 attempt. Although it seems not to have actual harm, this behaviour is strange.

==========
$ gksu 'echo 1'
GNOME_SUDO_PASS #### <- beginning of first attempt
Sorry, try again.
GNOME_SUDO_PASS
Sorry, try again.
sudo: 3 incorrect password attempts
GNOME_SUDO_PASS #### <- beginning of second attempt
Sorry, try again.
GNOME_SUDO_PASS
Sorry, try again.
sudo: 3 incorrect password attempts
GNOME_SUDO_PASS #### <- beginning of third attempt
Sorry, try again.
GNOME_SUDO_PASS
Sorry, try again.
sudo: 3 incorrect password attempts
==========

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/298217

Title:
  no second attempt and no feedback when wrong password entered

Status in “libgksu” package in Ubuntu:
  Fix Released
Status in “sudo” package in Ubuntu:
  Invalid
Status in “libgksu” source package in Lucid:
  Fix Committed
Status in “sudo” source package in Lucid:
  Invalid
Status in “libgksu” source package in Maverick:
  Fix Committed
Status in “sudo” source package in Maverick:
  Invalid
Status in “libgksu” source package in Natty:
  Fix Committed
Status in “sudo” source package in Natty:
  Invalid
Status in “libgksu” package in Debian:
  New

Bug description:
  IMPACT: Users that mistype their password in gksu do not get any
  feedback, the application is never started.

  FIX: The parsing in libgksu has been changed to only ignore a line
  with a single newline and will respect non empty lines as valid
  answer.

  REPRODUCE: Start a new terminal, run 'gksu ls /' and mistype the user
  password.

  DISCUSSION: Regression potential is low, as the patch still discards
  lines with merely a newline.

  ORIGINAL DESCRIPTION:
  When starting, for example, Synaptic Package Manager, the password dialog that is presented only allows one attempt. If the wrong password is entered, the dialog simply disappears, and nothing else happens. This is confusing, and also annoying, since I then have to go through the menus again to selecte Synaptic a second time.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libgksu/+bug/298217/+subscriptions




More information about the foundations-bugs mailing list