Date: Sun, 30 Mar 2008 09:30:02 GMT From: Bruce Cran <bruce@cran.org.uk> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/75378: login(1): login/wtmp/utmp not updating properly Message-ID: <200803300930.m2U9U2AP012539@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/75378; it has been noted by GNATS. From: Bruce Cran <bruce@cran.org.uk> To: bug-followup@FreeBSD.org Cc: vwe@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803300930.m2U9U2AP012539>