UTMPX(4) File Formats and Configurations UTMPX(4)


NAME


utmpx, wtmpx - utmpx and wtmpx database entry formats

SYNOPSIS


#include <utmpx.h>
/var/adm/utmpx
/var/adm/wtmpx


DESCRIPTION


The utmpx and wtmpx files are extended database files that have
superseded the obsolete utmp and wtmp database files.


The utmpx database contains user access and accounting information for
commands such as who(1), write(1), and login(1). The wtmpx database
contains the history of user access and accounting information for the
utmpx database.

USAGE


Applications should not access these databases directly, but should use
the functions described on the getutxent(3C) manual page to interact with
the utmpx and wtmpx databases to ensure that they are maintained
consistently.

FILES


/var/adm/utmpx
user access and administration information


/var/adm/wtmpx
history of user access and administrative information


SEE ALSO


getutxent(3C), wait(3C), wait.h(3HEAD)


April 9, 2016 UTMPX(4)