utmp_register — make entries in the utmp/wtmp database
Contents
Description
utmp_register is a helper program for programs which do not want to do the UTMP/WTMP handling within
themselves.
Name
utmp_register — make entries in the utmp/wtmp database
Options
-A Add entry.
-D Delete entry.
-U Perform operation on the utmp file.
-W Perform operation on the wtmp file.
-e Encode PID into the "ut_id" field.
-hhost
Host field.
-luser
User field.
-ttty TTY field.
-ppid Unique ID 1
-ssession
Unique ID 2.
-ufile
Path to the utmp file, defaults to /var/run/utmp.
-wfile
Path to wtmp file, defaults to /var/log/wtmp.
-A and -D can be specified together, in which case an entry is added and instantly removed again (utmp),
or a login of duration zero is recorded (wtmp).
See Also
hxtools(7) hxtools 2008-02-06 utmp_register(8)
Syntax
utmp_register [-ADUWe] [-hhost] [-luser] [-pid1] [-sid2] [-ttty] [-uutmpfile] [-wwtmpfile]
