** Description changed:

+ SRU justification :
+ btmp logging had been removed in Debian a while ago due to protection to the 
/var/log/btmp file. This restriction is no longer true so it has been 
re-enabled on Debian.
+ 
+ Impact : 
+ Failure to login using ssh will be recorded in /var/log/btmp.
+ 
+ Fix : 
+ Change compilation time option
+ 
+ Test Case : 
+ $ 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.
+ 
+ Regression : 
+ None expected, this used to be the default before it got disabled.
+ 
+ Original description of the problem :
+ 
  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
+  LANGUAGE=en_US.UTF-8
+  LC_CTYPE=C
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: openssh

** Patch added: "openssh_enable_btmp_precise.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/743858/+attachment/4055599/+files/openssh_enable_btmp_precise.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/743858

Title:
  sshd not appending to /var/log/btmp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/743858/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to