xref: /illumos-gate/usr/src/man/man5/utmpx.5 (revision 2c65701281156d8db8fa6f6f9c5faa6ca021c621)
te
Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
Copyright 1989 AT&T
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
UTMPX 5 "April 9, 2016"
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)