Steps to reproduce:
$ ssh badname@localhost # hit 'enter' three times to fail logging in.
$ sudo lastb
Expected outcome:
"lastb" reports something similar to:
"badname ssh:pts/1 localhost Sun Mar 27 17:01 - 17:01 (04:00)"
just as it does when a bad login attempt is made using /bin/login, or when using sshd on other distributions of linux (CentOS, Fedora, Arch, SUSE, ...etc)
Actual outcome
No mention of a bad login attempt in lastb output; /var/log/btmp modify time and byte size is unchanged.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openssh-server 1:5.3p1-3ubuntu6
Uname: Linux 2.6.18-128.2.1.el5.028stab064.7 x86_64
Architecture: amd64
Date: Sun Mar 27 16:40:55 2011
ProcEnviron:
LANGUAGE=en_US.UTF-8
LC_CTYPE=C
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openssh
Steps to reproduce:
$ ssh badname@localhost # hit 'enter' three times to fail logging in.
$ sudo lastb
Expected outcome:
"lastb" reports something similar to:
"badname ssh:pts/1 localhost Sun Mar 27 17:01 - 17:01 (04:00)"
just as it does when a bad login attempt is made using /bin/login, or when using sshd on other distributions of linux (CentOS, Fedora, Arch, SUSE, ...etc)
Actual outcome
No mention of a bad login attempt in lastb output; /var/log/btmp modify time and byte size is unchanged.
ProblemType: Bug 128.2.1. el5.028stab064. 7 x86_64 en_US.UTF- 8
DistroRelease: Ubuntu 10.04
Package: openssh-server 1:5.3p1-3ubuntu6
Uname: Linux 2.6.18-
Architecture: amd64
Date: Sun Mar 27 16:40:55 2011
ProcEnviron:
LANGUAGE=
LC_CTYPE=C
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openssh