grub password entry freezes upon excessive backspace

Bug #886090 reported by Nick Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

My system is $ lsb_release -rd
Description: Ubuntu 10.04.3 LTS
Release: 10.04
$ apt-cache policy grub-pc
grub-pc:
  Installed: 1.98-1ubuntu12

In my 00_header, I have arranged for boot-time passwords, and therefore have entries like these in my /boot/grub/grub.cfg
-----
set superusers="guru"
password guru the_passwd
password tom the_passwd
password dick the_passwd
password harry the_passwd
# ...
menuentry --users tom,dick,harry 'Ubuntu, with Linux 2.6.32-34-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set a46053d3-b5da-42f2-92ce-271e59a175a6
        linux /vmlinuz-2.6.32-34-generic root=UUID=4aece489-c5b2-45db-927c-07218c7e47d8 ro quiet splash
        initrd /initrd.img-2.6.32-34-generic
}
-----

When I boot the computer, I get the grub menu, and I choose an entry like the one above. It then asks me for the username.

If I type at least one character, then press enough backspaces to erase the character(s), then TWO MORE backspaces, then the following happens.
-> Any characters I type do not have any effect. But pressing ENTER does the usual.
-> Even if I type in the correct password (for the blindly typed username), it says Access Denied.

Workaround: press ENTER to get past username and password prompts, then try again (without being quite so trigger-happy on the backspace key).

I believe the same effect happens on the password prompt, but is harder to see, given the no_echo. This causes difficulties if your fingers slip during password entry.

Can you also check on this other behaviour: pressing backspace on the username entry does a NON-DESTRUCTIVE backspace. Like this
Username:
ivan_the_terrible (then backspace * 8)
         ^ cursor position, under 't', 't' and 'errible' still visible.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
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.