Subject: misc/3196: utmp.5 needs changes about logging to wtmp
To: None <>
From: None <>
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
>Originator:     Geoff Wing
Geoff Wing []   Technical Manager
  Phone    : +61-3-9818 2977         PrimeNet - Internet Consultancy
  Facsimile: +61-3-9819 3788         Web : <URL:>
  Mobile   : 0412 162 441
>Release:        5 Feb 1997
System: NetBSD 1.2B NetBSD 1.2B (CORAL) #8: Fri Jan 31 17:11:02 EST 1997 i386

	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)
	read man page
	Try some more accurate wording.