[Pkg-shadow-devel] Bug#507094: Login, and the shell presented after login, are in all caps when an arrow key ([A, [D, [B, [C) is typed as a login name

Jeff Welling jeff.welling at gmail.com
Thu Nov 27 23:10:36 UTC 2008

Package: login
Version: 1:4.0.18

When any of the arrow keys ([A, [D, [B, [C) are used as a login name 
(And no additional text) when logging in from a Terminal (Not SSH), all 
text outputed thereafter until login is restarted is in caps. 

When I input arrow keys as a username, I would normally expect them to 
be disregarded.  Instead, they put login into some sort of all-caps 
mode, where it prints only capitalized characters to the screen.  This 
behaviour continues if one successfully logs into the machine after 
login is put into this anomalous all-caps mode.  Note that if an 
incorrect login is entered enough times to restart login, it goes back 
to the normal capitalization, as does the shell you are presented with 
upon successful login.  If one logs in and is presented with an all-caps 
shell, logging out and logging in again without using any arrow keys in 
any of the login names, you should be presented with a regular 
non-capitalized shell.

If you accidentally type in an arrow key by mistake and put login into 
the all-caps mode, then you can enter an incorrect login 5 times and 
login will be restarted presenting you with a regular prompt.  The same 
can be done to get out of an all-caps shell that you may have been put 
in by this bug.

I have not modified login past installing the default Debian Stable 

login depends on libpam-modules >= 0.72-5

uname -a
Linux shmee 2.6.18-6-686 #1 SMP Mon Aug 18 08:42:39 UTC 2008 i686 GNU/Linux

ls -l /lib/libc.so.6
lrwxrwxrwx 1 root root 13 2008-08-09 01:56 /lib/libc.so.6 -> libc-2.3.6.so

reportbug -q --template -T none -s none -S normal -b --list-cc none -q login

Warning: no reportbug configuration found.  Proceeding in novice mode.
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'jeff <jeff at shmee.osnetwork>' as your from address.
Getting status for login...
Will send report to Debian (per lsb_release).
Maintainer for login is 'Shadow package maintainers 
<pkg-shadow-devel at lists.alioth.debian.org>'.
Looking up dependencies of login...

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: jeff <jeff at shmee.osnetwork>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: none
X-Debbugs-Cc: none

Package: login
Version: 1:
Severity: normal

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages login depends on:
ii  libc6                  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libpam-modules         0.79-5            Pluggable Authentication 
Modules f
ii  libpam-runtime         0.79-5            Runtime support for the PAM 
ii  libpam0g               0.79-5            Pluggable Authentication 
Modules l

login recommends no packages.

-- no debconf information

More information about the Pkg-shadow-devel mailing list