EnglishFrenchSpanish

OnWorks favicon

sessreg - Online in the Cloud

Run sessreg in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command sessreg that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


sessreg - manage utmpx/wtmpx entries for non-init clients

SYNOPSIS


sessreg [-w wtmpx-file] [-u utmpx-file] [-L lastlog-file] [-l line-name] [-h host-name]
[-s slot-number] [-x Xservers-file] [-t ttys-file] [-V] [-a] [-d] user-name

DESCRIPTION


Sessreg is a simple program for managing utmpx/wtmpx and lastlog entries for xdm sessions.

This version of sessreg is built using the modern POSIX pututxline(3c) interfaces, which
no longer require the slot-number, ttys-file, or Xservers-file mappings. For
compatibility with older versions and other operating systems, the -s, -t, and -x flags
are accepted, but ignored.

USAGE


In Xstartup, place a call like:

sessreg -a -l $DISPLAY -x /etc/X11/xdm/Xservers $USER

and in Xreset:

sessreg -d -l $DISPLAY -x /etc/X11/xdm/Xservers $USER

OPTIONS


-w wtmpx-file
This specifies an alternate wtmpx file, instead of /var/log/wtmp. The special name
"none" disables writing records to the wtmpx file.

-u utmpx-file
This specifies an alternate utmpx file, instead of /var/run/utmp. The special name
"none" disables writing records to the utmpx file.

-L lastlog-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.

-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.

-h host-name
This is set to indicate that the session was initiated from a remote host. In
typical xdm usage, this options is not used.

-s slot-number
This option is accepted for compatibility, but does nothing in this version of
sessreg.

-x Xservers-file
This option is accepted for compatibility, but does nothing in this version of
sessreg.

-t ttys-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.

Use sessreg online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 2
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 3
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 4
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • 5
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 6
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • More »

Linux commands

  • 1
    acdtablee
    acdtablee
    acdtable - Generate an HTML table of
    parameters from an application ACD file ...
    Run acdtablee
  • 2
    acdtracee
    acdtracee
    acdtrace - Trace processing of an
    application ACD file (for testing) ...
    Run acdtracee
  • 3
    cpufreq-aperf
    cpufreq-aperf
    cpufreq-aperf - Calculates the average
    frequency over a time period SYNTAX:
    cpufreq-aperf [options] DESCRIPTION: On
    latest processors exist two MSR
    registers r...
    Run cpufreq-aperf
  • 4
    cpufreq-info
    cpufreq-info
    cpufreq-info - Utility to retrieve
    cpufreq kernel information SYNTAX:
    cpufreq-info [options] DESCRIPTION: A
    small tool which prints out cpufreq
    information hel...
    Run cpufreq-info
  • 5
    g.extension.allgrass
    g.extension.allgrass
    g.extension.all - Rebuilds or removes
    all locally installed GRASS Addons
    extensions. By default only extensions
    built against different GIS Library are
    rebuilt...
    Run g.extension.allgrass
  • 6
    g.filenamegrass
    g.filenamegrass
    g.filename - Prints GRASS data base
    file names. KEYWORDS: general, map
    management, scripts ...
    Run g.filenamegrass
  • More »

Ad