GNOME Bugzilla – Bug 637866
Mis-matched all patterns with returned failure message by passwd will make GUI hang
Last modified: 2011-01-21 12:07:27 UTC
OS: Ubuntu 10.4 Steps: 1. enter the current password in the Entry, and make it authenticated. 2. enter "New password" and "Retype new password" with same words but short length. Usually, if the passwd is using the system built-in pam module (pam_unix.so), the returned failure message will contain the "short" keyword, so it is ok to show error in GUI. But if user configure the passwd to use other third-party pam module and the returned failure message did not contain all the hard-coded pattern in the first 64 bytes, the GUI will hang until to click "Close" button. Proposal: At least, if all patterns are missed, just show the original failure message from passwd to GUI. In static gboolean io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswordDialog *pdialog) ... } else if (g_strrstr (str->str, "failure") != NULL) { /* Authentication failure */ msg = g_strdup (_("Your password has been changed since you initially authenticated! Please re-authenticate.")); ----> Here show the original message is perfered. Thanks! passdlg_set_auth_state (pdialog, FALSE); } }
about-me is gone from GNOME 3.x, and the bug does not apply to the user accounts panel.