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