Subject: misc/3196: utmp.5 needs changes about logging to wtmp
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gwing@primenet.com.au>
List: netbsd-bugs
Date: 02/06/1997 08:31:27
>Number:         3196
>Category:       misc
>Synopsis:       man page inaccurately says copy of utmp goes to wtmp on logout
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb  6 00:50:01 1997
>Last-Modified:
>Originator:     Geoff Wing
>Organization:
Geoff Wing [gwing@primenet.com.au]   Technical Manager
  Phone    : +61-3-9818 2977         PrimeNet - Internet Consultancy
  Facsimile: +61-3-9819 3788         Web : <URL:http://www.primenet.com.au/>
  Mobile   : 0412 162 441
>Release:        5 Feb 1997
>Environment:
System: NetBSD coral.primenet.com.au 1.2B NetBSD 1.2B (CORAL) #8: Fri Jan 31 17:11:02 EST 1997 root@coral.primenet.com.au:/src/netbsd/src/sys/arch/i386/compile/CORAL i386


>Description:
	From utmp.5:
	``Next, the login program opens the file wtmp, and appends the user's
	utmp record.  The same utmp record, with an updated time stamp is
	later appended to the file when the user logs out''
	The ``same utmp record'' : hardly.  init wipes the username and
	hostname fields. (ie. in clear_session_logs() in sbin/init/init.c)
>How-To-Repeat:
	read man page
>Fix:
	Try some more accurate wording.
	
>Audit-Trail:
>Unformatted: