xref: /titanic_50/usr/src/man/man4/utmpx.4 (revision f38cb554a534c6df738be3f4d23327e69888e634)
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 4 "Mar 6, 2008"
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 adminstration information

/var/adm/wtmpx

history of user access and adminstrative information

SEE ALSO

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