[Pkg-xfce-devel] Bug#785237: lightdm-gtk-greeter: Please remove leading spaces from user name
pi-c at arcor.de
Wed May 13 18:05:37 UTC 2015
I work at a laptop computer that I usually suspend instead of shutting down.
After opening the lid, I usually tap the space key to restart the computer.
Sometimes, a spurious space character makes it into the field for the user name
as first character. Naturally, user name and password don't match in this case.
However, as my password is quite long, I usually tend to assume I have mistyped
the password, thus losing time and nerves by repeatedly retyping the password
before thinking of the stray space character in front of the user name. :-)
Wouldn't it be possible to remove leading spaces from the input in the user
name field before matching user and password? Are leading spaces in user names
even allowed? If so, unconditionally removing them could cause issues for
with such user names. These might be prevented, however, if the test was for a
match of (password and username) OR (password and username without leading
spaces), rather than just (password and username).
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lightdm-gtk-greeter depends on:
ii libc6 2.19-18
ii libcairo2 1.14.0-2.1
ii libgdk-pixbuf2.0-0 2.31.1-2+b1
ii libglib2.0-0 2.44.0-3
ii libgtk-3-0 3.14.5-1
ii liblightdm-gobject-1-0 1.14.0-1
ii libx11-6 2:1.6.3-1
Versions of packages lightdm-gtk-greeter recommends:
ii desktop-base 8.0.2
ii gnome-icon-theme-symbolic 3.12.0-1
pn gnome-themes-standard <none>
ii policykit-1 0.105-8
lightdm-gtk-greeter suggests no packages.
-- no debconf information
More information about the Pkg-xfce-devel