Query: utmpset
OS: debian
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
utmpset(8) System Manager's Manual utmpset(8)NAMEutmpset - logout a line from utmp and wtmp fileSYNOPSISutmpset [ -w ] lineDESCRIPTIONThe 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 /service/getty-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 CODESutmpset returns 111 on error, 1 on wrong usage, 0 in all other cases.SEE ALSOsv(8), runsv(8), runit(8), runit-init(8) runsvdir(8), runsvchdir(8), chpst(8), svlogd(8), getty(8) http://smarden.org/runit/AUTHORGerrit Pape <pape@smarden.org> utmpset(8)
Related Man Pages |
---|
runit-init(8) - debian |
utmpset(8) - debian |
runit(8) - centos |
runit-init(8) - centos |
runit-init(8) - suse |
Similar Topics in the Unix Linux Community |
---|
jumpstart - finish scripts |
file formatting ? |
utmp ACCOUNTING |
runit 1.9.0 (Development branch) |
runit 2.0.0 (Stable branch) |