Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sessreg(1) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xdm(1)

sessreg(1)  —  USER COMMANDS

NAME

sessreg − manage utmp/wtmp entries for non−init clients

SYNOPSIS

sessreg [−w wtmp−file] [−u utmp−file] [−l line−name] [−a] [−d] user−name

DESCRIPTION

sessreg is a simple program for managing utmp/wtmp entries for xdm sessions.  Entries are dynamically allocated the file, instead of writing them at fixed positions indexed by position in /etc/ttys. 

USAGE

Place a call similar to the following in Xstartup:

       sessreg −a −l $DISPLAY $LOGNAME

and in Xreset:

       sessreg −d −l $DISPLAY $LOGNAME

OPTIONS

−w wtmp−file
This specifies an alternate wtmp file, instead of /etc/wtmp.  The special name none disables writing records to /etc/wtmp. 

−u utmp−file
This specifies an alternate utmp file, instead of /etc/utmp.  The special name none disables writing records to /etc/utmp. 

−l line−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. 

−a This session should be added to utmp/wtmp. 

−d This session should be deleted from utmp/wtmp.  One of −a/−d must be specified. 

SEE ALSO

xdm(1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026