[Bug 338151] Re: update manager should show invalid sudo password warning
I can reproduce exactly Simon's behaviour. Added gksu here and set update-manager to invalid. ** Also affects: gksu (Ubuntu) Importance: Undecided Status: New ** Changed in: update-manager (Ubuntu) Status: New = Invalid ** Summary changed: - update manager should show invalid sudo password warning + gksu does not repeat password prompt if wrong password ** Description changed: + gksu only asks once for the password and then gives up if a wrong password is given. + It should ask 3 times (and then possibly complain to the user in a dialog?) + + === Original report: === + To the wishlist: Open update-manager, check for packages to install and click on install. It'll ask for your password, if you get it wrong it won't tell you. It just refreshes the package listing and show the update manager window again. I'm running the latest Ubuntu with all updates applied, but it's an issue for a long time, really. It's not critical but it's a big of a nuisance, since I always do multiple things at the same time and I can easily forget to check the update window for hours or even days. A simple dialog would be fine, but sudo insults (if enable) would be much better. ;) cheers! ** Description changed: gksu only asks once for the password and then gives up if a wrong password is given. It should ask 3 times (and then possibly complain to the user in a dialog?) + + See comment #4 how to reproduce. === Original report: === To the wishlist: Open update-manager, check for packages to install and click on install. It'll ask for your password, if you get it wrong it won't tell you. It just refreshes the package listing and show the update manager window again. I'm running the latest Ubuntu with all updates applied, but it's an issue for a long time, really. It's not critical but it's a big of a nuisance, since I always do multiple things at the same time and I can easily forget to check the update window for hours or even days. A simple dialog would be fine, but sudo insults (if enable) would be much better. ;) cheers! ** Tags added: apport-collected -- gksu does not repeat password prompt if wrong password https://bugs.launchpad.net/bugs/338151 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338151] Re: update manager should show invalid sudo password warning
Seems like a gksu bug. Starting gksu and entering a wrong password gives this without asking for a password for a second time: $ gksu -d echo Hello No ask_pass set, using default! xauth: /tmp/libgksu-XYZq2S/.Xauthority STARTUP_ID: gksu/echo 'Hello'/7881-0-simon-notebook_TIME5167444 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]: echo cmd[9]: Hello buffer: -GNOME_SUDO_PASS- brute force GNOME_SUDO_PASS ended... Yeah, we're in... sudo: 3 incorrect password attempts try again. xauth: /tmp/libgksu-XYZq2S/.Xauthority xauth_env: /var/run/gdm/auth-for-simon-koKGqm/database dir: /tmp/libgksu-XYZq2S Can someone with the problems in update-manager reproduce this? If yes, we should file a bug against gksu. -- update manager should show invalid sudo password warning https://bugs.launchpad.net/bugs/338151 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338151] Re: update manager should show invalid sudo password warning
Same issue here, with Lucid, all updates applied: Linux lappc-p087.in2p3.fr 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 GNU/Linux DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION=Ubuntu 10.04 LTS ** Changed in: update-manager (Ubuntu) Status: Incomplete = New -- update manager should show invalid sudo password warning https://bugs.launchpad.net/bugs/338151 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338151] Re: update manager should show invalid sudo password warning
$ uname -a Linux gargamel 2.6.27-13-generic #1 SMP Thu Feb 26 07:26:43 UTC 2009 i686 GNU/Linux $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.10 DISTRIB_CODENAME=intrepid DISTRIB_DESCRIPTION=Ubuntu 8.10 All updates applied. -- update manager should show invalid sudo password warning https://bugs.launchpad.net/bugs/338151 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338151] Re: update manager should show invalid sudo password warning
Thanks for your bugreport gksu should repeat the prompt three times if there was a typo. What version of ubuntu do you run exactly? ** Changed in: update-manager (Ubuntu) Assignee: (unassigned) = Michael Vogt (mvo) Status: New = Incomplete -- update manager should show invalid sudo password warning https://bugs.launchpad.net/bugs/338151 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs