lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 4 Apr 2008 10:13:09 +1100
From:	Nick Andrew <nick@...k-andrew.net>
To:	Madhou <madh2001@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: shell outputs anything typed when the kernel thinks@...%

On Fri, Mar 21, 2008 at 10:11:43PM +0100, Madhou wrote:
> When logging in a shell, one will type his username, 'return' and then his 
> password...

It sounds like you are describing behaviour of getty, not the
shell. That's because the tty device is set to echo typed characters at
the 'login:' prompt.  After getty receives your username either it or
/bin/login will turn off the echo flag and prompt for your password.

If it's a problem for you, patch getty to turn off echo (and cooked
mode) before the 'login:' prompt and perform all keyboard input
processing and echoing in the program.

> But just after 'return' the kernel is launched into thinking for long enough 
> to the point that users who do everything fast including logging in a shell 
> let the shell display the first letters of their passwords.
> This problem tends to be critical when the user makes a demonstration to a 
> bunch of people thanks to an overhead projector.

I don't think the kernel can be blamed for this behaviour, particularly
when your password is 'qwerty'. When demonstrating, setup a demo
username so you don't have to type your own password in front of a
roomful of people.

Nick.
-- 
PGP Key ID = 0x418487E7                      http://www.nick-andrew.net/
PGP Key fingerprint = B3ED 6894 8E49 1770 C24A  67E3 6266 6EB9 4184 87E7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ