[BACK]Return to utmp_update.8 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / libexec / utmp_update

File: [cvs.NetBSD.org] / src / libexec / utmp_update / utmp_update.8 (download)

Revision 1.3, Sat Apr 18 22:03:51 2020 UTC (7 months, 1 week ago) by sevan
Branch: MAIN
CVS Tags: phil-wifi-20200421, HEAD
Changes since 1.2: +7 -2 lines

document history

.\"	$NetBSD: utmp_update.8,v 1.3 2020/04/18 22:03:51 sevan Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to The NetBSD Foundation
.\" by Thomas Klausner.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd April 18, 2020
.Dt UTMP_UPDATE 8
.Os
.Sh NAME
.Nm utmp_update
.Nd update utmpx database
.Sh SYNOPSIS
.Nm
.Ar utmpx_entry
.Sh DESCRIPTION
.Nm
is a helper program to allow a user to update his own
.Xr utmpx 5
entry.
.Nm
does some consistency checks on the
.Xr strvis 3 Ns No -encoded
.Ar utmpx_entry
and then updates the
.Xr utmpx 5
database of currently logged in users.
.Pp
.Nm
should not be called directly, but will normally only be called by
.Xr pututxline 3
if the privileges of the calling user are not sufficient.
.Sh EXIT STATUS
.Nm
returns 0 on success, and 1 if an error occurred.
.Sh SEE ALSO
.Xr pututxline 3 ,
.Xr utmpx 5
.Sh HISTORY
A
.Nm
utility appeared in
.Nx 2.0 .