.\" Copyright (c) 1993 Michael Haardt (michael@cantor.informatik.rwth-aachen.de),
.\" Fri Apr 2 11:32:09 MET DST 1993
.\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
.\"
.\" Modified 1993-07-25 by Rik Faith (faith@cs.unc.edu)
.\" Modified 1995-02-26 by Michael Haardt
.\" Modified 1996-07-20 by Michael Haardt
-.\" Modified 1997-07-02 by Nicolás Lichtmaier <nick@debian.org>
+.\" Modified 1997-07-02 by Nicolás Lichtmaier <nick@debian.org>
.\" Modified 2004-10-31 by aeb, following Gwenole Beauchesne
-.TH UTMP 5 2008-10-10 "Linux" "Linux Programmer's Manual"
+.TH UTMP 5 2013-02-11 "Linux" "Linux Programmer's Manual"
.SH NAME
utmp, wtmp \- login records
.SH SYNOPSIS
char __unused[20]; /* Reserved for future use */
};
-/* Backwards compatibility hacks */
+/* Backward compatibility hacks */
#define ut_name ut_user
#ifndef _NO_UT_TIME
#define ut_time ut_tv.tv_sec
user's terminal, the user's login name, and the time of login in the form
of
.BR time (2).
-String fields are terminated by \fB\(aq\e0\(aq\fP
+String fields are terminated by a null byte (\(aq\e0\(aq)
if they are shorter than the size
of the field.
.PP
/var/run/utmp
.br
/var/log/wtmp
-.SH "CONFORMING TO"
+.SH CONFORMING TO
.PP
POSIX.1 does not specify a
.I utmp
structure to be the same as the
.I utmp
structure.
-.SS Comparison with Historical Systems
+.SS Comparison with historical systems
Linux utmp entries conform neither to v7/BSD nor to System V; they are a
mix of the two.
systems, where utmp logging can be disabled by removing the file, utmp
must always exist on Linux.
If you want to disable
-.BR who (1)
+.BR who (1),
then do not make utmp world readable.
.PP
The file format is machine-dependent, so it is recommended that it be
.IR /var/run/utmp " and/or " /var/log/wtmp .
.SH BUGS
This man page is based on the libc5 one, things may work differently now.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR ac (1),
.BR date (1),
.BR last (1),
.BR login (1),
+.BR utmpdump (1),
.BR who (1),
.BR getutent (3),
.BR getutmp (3),
.BR logwtmp (3),
.BR updwtmp (3),
.BR init (8)
+.SH COLOPHON
+This page is part of release 3.67 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.