Comment 40 for bug 298217

Revision history for this message
Twisted Lincoln, Inc. (twistedlincoln) wrote :

I believe I have found the solution to users that have upgraded from previous versions to Lucid:

arab80ps reported above that typing "gksu natuilus" and entering the wrong password returned the following for him:

GNOME_SUDO_PASSSorry, try again.
sudo: 3 incorrect password attempts

For me, it returns:

GNOME_SUDO_PASSGNOME_SUDO_PASSSorry, try again.
sudo: 3 incorrect password attempts

Thus changing line 14 of the "27_sudo_wrong_pwd_check.patch" that was recently added to libgksu from:

+ if (g_str_has_prefix (buffer, "Sorry, try again.") || g_str_has_prefix (buffer, "GNOME_SUDO_PASSSorry, try again."))

to

+ if (g_str_has_prefix (buffer, "Sorry, try again.") || g_str_has_prefix (buffer, "GNOME_SUDO_PASSGNOME_SUDO_PASSSorry, try again.") || g_str_has_prefix (buffer, "GNOME_SUDO_PASSSorry, try again."))

and recompiling and reinstalling the resulting deb fixes the issue for me. I have tested this fix on a fresh lucid install as well, and the fix works there too.

Since this issue at present is a regression for those upgrading to Lucid (and presumably Maverick as well), it is my hope that this trivial fix could be incorporated officially ASAP, provided it can be confirmed by others as fixing the problem.