From 4057413c79ffb467210f27de71006d4237b8d8e9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 20 Dec 2021 11:33:37 +0000 Subject: Add utmps-write doc Signed-off-by: Laurent Bercot --- doc/index.html | 1 + doc/utmps-utmpd.html | 2 +- doc/utmps-write.html | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++ doc/utmps-wtmpd.html | 2 +- 4 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 doc/utmps-write.html diff --git a/doc/index.html b/doc/index.html index 75aac4f..f22082d 100644 --- a/doc/index.html +++ b/doc/index.html @@ -108,6 +108,7 @@ the previous versions of utmps and the current one.

Libraries

diff --git a/doc/utmps-utmpd.html b/doc/utmps-utmpd.html index 2bee9ad..ea7fb3b 100644 --- a/doc/utmps-utmpd.html +++ b/doc/utmps-utmpd.html @@ -34,7 +34,7 @@ a script as a part of a "utmpd" on how to run such a service. The simplest way to do so, for testing purposes, is a command line such as:

-
s6-ipcserver -l0 utmpd-socket utmps-utmpd
+
s6-ipcserver .utmpd-socket utmps-utmpd

while being in the /run/utmps directory.

diff --git a/doc/utmps-write.html b/doc/utmps-write.html new file mode 100644 index 0000000..d456a00 --- /dev/null +++ b/doc/utmps-write.html @@ -0,0 +1,100 @@ + + + + + + utmps: the utmps-write program + + + + + + +

+utmps
+Software
+skarnet.org +

+ +

The utmps-write program

+ +

+utmps-write is a command-line generic utmp client for utmps. +It sends an arbitrary utmp entry to the utmpd and/or wtmpd daemon. It can +be used to test utmps installations. +

+ +

Interface

+ +
+     utmps-write [ -u ] [ -w ] [ -U utmpd-socket ] [ -W wtmpd-socket ] [ -t timeout ] [ -T timestamp ] [ -h host ] [ -i ip ] [ -l user ] [ -p pid ] id type line
+
+ + + +

+ The type argument must be symbolic: EMPTY, BOOT_TIME etc. The valid types +are the symbolic constants for the ut_type field of the utmpx structure, +as documented here +or in the utmps/utmpx.h header provided with the utmps package. +

+ +

Options

+ + + +

Notes

+ + + + + diff --git a/doc/utmps-wtmpd.html b/doc/utmps-wtmpd.html index f2f77db..d8a3b7c 100644 --- a/doc/utmps-wtmpd.html +++ b/doc/utmps-wtmpd.html @@ -34,7 +34,7 @@ a script as a part of a "wtmpd" on how to run such a service. The simplest way to do so, for testing purposes, is a command line such as:

-
s6-ipcserver -l0 wtmpd-socket utmps-wtmpd
+
s6-ipcserver .wtmpd-socket utmps-wtmpd

while being in the /run/utmps directory.

-- cgit 1.4.1