utmpset man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

utmpset(8)							    utmpset(8)

NAME
       utmpset - logout a line from utmp and wtmp file

SYNOPSIS
       utmpset [ -w ] line

DESCRIPTION
       The  utmpset  program modifies the user accounting database utmp(5) and
       optionally wtmp(5) to indicate that the user on the terminal  line  has
       logged out.

       Ordinary	 init(8)  processes  handle  utmp file records for local login
       accounting.  The runit(8) program doesn't include code  to  update  the
       utmp  file,  the	 getty(8)  processes are handled the same as all other
       services.

       To enable local login accounting, add utmpset to	 the  getty(8)	finish
       scripts, e.g.:

	$ cat /var/servicegetty-5/finish
	#!/bin/sh
	exec utmpset -w tty5
	$

OPTIONS
       -w     wtmp.  Additionally  to the utmp file, write an empty record for
	      line to the wtmp file.

EXIT CODES
       utmpset returns 111 on error, 1 on wrong usage, 0 in all other cases.

SEE ALSO
       sv(8), runsv(8), runit(8),  runit-init(8)  runsvdir(8),	runsvchdir(8),
       chpst(8), svlogd(8), getty(8)

       http://smarden.org/runit/

AUTHOR
       Gerrit Pape <pape@smarden.org>

								    utmpset(8)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net