summaryrefslogtreecommitdiff
path: root/share/man/man5/utmp.5
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man5/utmp.5')
-rw-r--r--share/man/man5/utmp.516
1 files changed, 7 insertions, 9 deletions
diff --git a/share/man/man5/utmp.5 b/share/man/man5/utmp.5
index 86cded1d9da..4b378798ba7 100644
--- a/share/man/man5/utmp.5
+++ b/share/man/man5/utmp.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: utmp.5,v 1.7 1998/11/26 04:26:00 aaron Exp $
+.\" $OpenBSD: utmp.5,v 1.8 1998/11/29 15:47:25 aaron Exp $
.\" $NetBSD: utmp.5,v 1.5 1994/11/30 19:31:35 jtc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -38,9 +38,7 @@
.Dt UTMP 5
.Os BSD 4
.Sh NAME
-.Nm utmp ,
-.Nm wtmp ,
-.Nm lastlog
+.Nm utmp , wtmp , lastlog
.Nd login records
.Sh SYNOPSIS
.Fd #include <utmp.h>
@@ -49,7 +47,7 @@ The file
.Aq Pa utmp.h
declares the structures used to record information about current
users in the
-.Nm utmp
+.Nm
file, logins and logouts in the
.Nm wtmp
file, and last logins in the
@@ -114,14 +112,14 @@ record is written,
.\" .Xr libutil 3
.\" routine
the
-.Nm utmp
+.Nm
file is opened and the
.Fa utmp
record for the user inserted.
This record remains there until
the user logs out at which time it is deleted.
The
-.Nm utmp
+.Nm
file is used by the programs
.Xr rwho 1 ,
.Xr users 1 ,
@@ -191,7 +189,7 @@ character indicates the new time.
.Bl -tag -width /var/log/lastlog -compact
.It Pa /var/run/utmp
the
-.Nm utmp
+.Nm
file
.It Pa /var/log/wtmp
the
@@ -210,7 +208,7 @@ file
.Xr init 8
.Sh HISTORY
A
-.Nm utmp
+.Nm
and
.Nm wtmp
file format appeared in