1 --- utmpx.5.orig 2004-09-20 17:32:52.000000000 -0700
2 +++ utmpx.5 2005-12-26 11:25:30.000000000 -0800
4 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
5 .\" POSSIBILITY OF SUCH DAMAGE.
7 -.Dd September 26, 2002
16 .Nd user accounting database
21 header defines the structures and functions for logging user.
22 Currently logged in users are tracked in
24 -a list of all logins and logouts, as well as all shutdowns, reboots
25 -and date changes, is kept in
27 -and the last login of each user is noted in
28 -.Pa /var/log/lastlogx .
29 -The files are not automatically created if they do not exist; they
30 -must be created manually.
37 +The file is not automatically created if they do not exist; it
38 +must be created manually.
42 -file can grow rapidly on busy systems, and is normally rotated with
44 +Traditionally, separate files would be used to store the running log of
45 +the logins and logouts
47 +and the last login of each user
48 +.Pf ( Pa lastlogx ) .
49 +With the availability of the Apple system log facility
51 +these separate files can be replace with log entries, which are automatically
55 +The API to access the logins and logouts is described in
57 +while the last login info is accessible with
60 -In the event of a date change, a shutdown, or a reboot, the following
61 -items are logged in the
64 -.Bl -tag -width shutdownxx -compact -offset indent
66 -The system time has been manually or automatically updated by
70 -is recorded in the field
76 -indicates the time prior to the change, and the character
78 -indicates the new time.
81 -A system reboot or shutdown has been initiated.
84 -is placed in the field
94 +For compatibility, changes to
109 +but not the other way around.
111 -.Bl -tag -width /var/log/lastlogx -compact
112 +.Bl -tag -width /var/log/utmpx -compact
113 .It Pa /var/run/utmpx
117 -.It Pa /var/log/wtmpx
121 -.It Pa /var/log/lastlogx
139 +.Xr endutxent_wtmp 3 ,