Subject: Re: interface to utmp file.
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Andy Doran <>
List: tech-userlevel
Date: 05/20/1999 18:31:34
On Thu, 20 May 1999, Greg A. Woods wrote:

> [ On Thursday, May 20, 1999 at 23:33:20 (+1000), Darren Reed wrote: ]
> > Subject: Re: interface to utmp file.
> >
> > In some email I received from Andrew Doran, sie wrote:
> > > Check libutil... AFAIR, SunOS, SCO and maybe NeXT have a getutent()
> > > function.
> >=20
> > Not in libutil.

I really meant to say there is some basic utmp handling stuff in there,
(glancing over it looks like login() and logout()).

> The Single UNIX =AE Specification, Version 2, has migrated to <utmpx.h>,
> and defines: endutxent, getutxent, getutxid, getutxline, pututxline,
> setutxent.  These could be implemented on top of utmp(5), but I think it
> would be better to migrate the "binary" format to one that's also
> extensible.

Out of interest, does the spec define failed logins as loggable in some