From nobody@FreeBSD.org  Thu Jan 27 14:08:40 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6F6A316A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Jan 2005 14:08:40 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5788F43D39
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Jan 2005 14:08:40 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0RE8dpH049116
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Jan 2005 14:08:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j0RE8bBt049054;
	Thu, 27 Jan 2005 14:08:38 GMT
	(envelope-from nobody)
Message-Id: <200501271408.j0RE8bBt049054@www.freebsd.org>
Date: Thu, 27 Jan 2005 14:08:38 GMT
From: Scott Carver <scott@multics.za.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/bin/login
X-Send-Pr-Version: www-2.3

>Number:         76752
>Category:       bin
>Synopsis:       login(1) wtmp problems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 27 14:10:19 GMT 2005
>Closed-Date:    Mon Jun 23 21:53:46 UTC 2008
>Last-Modified:  Mon Jun 23 21:53:46 UTC 2008
>Originator:     Scott Carver
>Release:        5.3-RELEASE
>Organization:
multics.za.net
>Environment:
FreeBSD agnostic.x86.co.za 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Jan 20 22:36:33 SAST 2005     root@agnostic.x86.co.za:/usr/src/sys/i386/compile/AGNOSTIC  i386

>Description:
i've tested this on numerous machines running 5.3-RELEASE. when i login to the box locally it indicates i am logged in using 'who' and 'uptime', however once i close that session it indicates that there are 0 users.


>How-To-Repeat:
[scott@agnostic:~]$ login
login: scott
Last login: Thu Jan 27 15:55:54 on ttyp0
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.

FreeBSD 5.3-STABLE (AGNOSTIC) #0: Thu Jan 20 22:36:33 SAST 2005

[scott@agnostic:~]$ uptime
 3:56PM  up 6 days, 14:24, 1 user, load averages: 0.19, 0.11, 0.03
[scott@agnostic:~]$ exit
logout
[scott@agnostic:~]$ uptime
 3:56PM  up 6 days, 14:24, 0 users, load averages: 0.18, 0.11, 0.03
[scott@agnostic:~]$
    
>Fix:
something to do with '/usr/bin/login'
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Wed Mar 9 18:04:49 GMT 2005 
Responsible-Changed-Why:  
Reclassify as "bin" 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76752 
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Mon Jun 23 21:53:03 UTC 2008 
State-Changed-Why:  
Close, duplicate of bin/75378 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76752 
>Unformatted:
