bin/75378: login(1): login/wtmp/utmp not updating properly

Bruce Cran bruce at cran.org.uk
Sun Mar 30 02:30:03 PDT 2008


The following reply was made to PR bin/75378; it has been noted by GNATS.

From: Bruce Cran <bruce at cran.org.uk>
To: bug-followup at FreeBSD.org
Cc: vwe at freebsd.org
Subject: Re: bin/75378: login(1): login/wtmp/utmp not updating properly
Date: Sun, 30 Mar 2008 10:28:03 +0100

 This still happens on a 7.0 machine, but not when the shell is /bin/csh 
 or /bin/tcsh - if a csh is used then the first shell is closed when the 
 2nd login is exited.  If you use /bin/sh then the following is seen:
 
  > ssh box1
 Password:
 $ w
 10:21AM  up 6 days, 10:56, 1 user, load averages: 0.01, 0.02, 0.00
 USER             TTY      FROM              LOGIN@  IDLE WHAT
 user1            p0       abcd:aaa:aaa:a:b 10:21AM     - w
 $ login
 login: user1
 $ w
 10:22AM  up 6 days, 10:57, 1 user, load averages: 0.00, 0.01, 0.00
 USER             TTY      FROM              LOGIN@  IDLE WHAT
 user1            p0       -                10:22AM     - w
 $ exit
 $ w
 10:22AM  up 6 days, 10:57, 0 users, load averages: 0.00, 0.01, 0.00
 USER             TTY      FROM              LOGIN@  IDLE WHAT
 $ exit
 Connection to box1 closed.
  >
 
 --
 Bruce
 
 


More information about the freebsd-bugs mailing list