-wwtmpx-file
This specifies an alternate wtmpx file, instead of /var/log/wtmp. The special name "none"
disables writing records to the wtmpx file.
-uutmpx-file
This specifies an alternate utmpx file, instead of /var/run/utmp. The special name "none"
disables writing records to the utmpx file.
-Llastlog-file
This specifies an alternate lastlog file, instead of /var/log/lastlog, if the platform supports
lastlog files. The special name "none" disables writing records to the lastlog file.
-lline-name
This describes the "line" name of the entry. For terminal sessions, this is the final pathname
segment of the terminal device filename (e.g. ttyd0). For X sessions, it should probably be the
local display name given to the users session (e.g. :0). If none is specified, the terminal name
will be determined with ttyname(3) and stripped of leading components.
-hhost-name
This is set to indicate that the session was initiated from a remote host. In typical xdm usage,
this options is not used.
-sslot-number
This option is accepted for compatibility, but does nothing in this version of sessreg.
-xXservers-file
This option is accepted for compatibility, but does nothing in this version of sessreg.
-tttys-file
This option is accepted for compatibility, but does nothing in this version of sessreg.
-V This option causes the command to print its version and exit.
-a This session should be added to utmpx/wtmpx.
-d This session should be deleted from utmpx/wtmpx. One of -a/-d must be specified.