diff options
author | Gerrit Pape <pape@smarden.org> | 2003-09-23 08:13:27 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2003-09-23 08:13:27 +0000 |
commit | 601c68e000e9f17e48b40d5aae52acff397c1b16 (patch) | |
tree | d1d3971612b5a19dbff24fb10bd86b7cb7c51b5e /doc/utmpset.8.html | |
parent | ecb49a81572f39731df4e7bcbc1dd071e6592547 (diff) | |
download | runit-601c68e000e9f17e48b40d5aae52acff397c1b16.tar.gz runit-601c68e000e9f17e48b40d5aae52acff397c1b16.tar.xz runit-601c68e000e9f17e48b40d5aae52acff397c1b16.zip |
html.
Diffstat (limited to 'doc/utmpset.8.html')
-rw-r--r-- | doc/utmpset.8.html | 105 |
1 files changed, 53 insertions, 52 deletions
diff --git a/doc/utmpset.8.html b/doc/utmpset.8.html index aad75d1..0f30f80 100644 --- a/doc/utmpset.8.html +++ b/doc/utmpset.8.html @@ -1,61 +1,62 @@ -<HTML> -<HEAD> -<TITLE>utmpset(8) manual page</TITLE> -</HEAD> -<BODY bgcolor=white> -<a href="http://smarden.org/pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> - -<H2><A NAME="sect0">Name</A></H2> +<html> +<head> +<title>utmpset(8) manual page</title> +</head> +<body bgcolor='white'> +<a href='#toc'>Table of Contents</a><p> + +<h2><a name='sect0' href='#toc0'>Name</a></h2> utmpset - logout a line from utmp and wtmp file -<H2><A NAME="sect1">Synopsis</A></H2> -<B>utmpset</B> [ <B>-w</B> -] <I>line</I> -<H2><A NAME="sect2">Description</A></H2> -The <B>utmpset</B> program modifies the user accounting database -<B><I>utmp</B>(5)</I> and optionally <B><I>wtmp</B>(5)</I> to indicate that the user on the terminal -<I>line</I> has logged out. <P> -Ordinary <B><I>init</B>(8)</I> processes handle utmp file records -for local login accounting. The <B><I>runit</B>(8)</I> program doesn't include code to -update the utmp file, the <B><I>getty</B>(8)</I> processes are handled the same as all -other services. <P> -To enable local login accounting, add <B>utmpset</B> to the <B><I>getty</B>(8)</I> -run scripts, e.g.: <P> - #!/bin/sh<BR> - /command/utmpset -w tty5<BR> - exec /sbin/getty 38400 tty5 linux<BR> +<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<b>utmpset</b> [ <b>-w</b> +] <i>line</i> +<h2><a name='sect2' href='#toc2'>Description</a></h2> +The <b>utmpset</b> program modifies the user accounting database +<i><b>utmp</b>(5)</i> and optionally <i><b>wtmp</b>(5)</i> to indicate that the user on the terminal +<i>line</i> has logged out. <p> +Ordinary <i><b>init</b>(8)</i> processes handle utmp file records +for local login accounting. The <i><b>runit</b>(8)</i> program doesn’t include code to +update the utmp file, the <i><b>getty</b>(8)</i> processes are handled the same as all +other services. <p> +To enable local login accounting, add <b>utmpset</b> to the <i><b>getty</b>(8)</i> +run scripts, e.g.: <p> + #!/bin/sh<br> + /command/utmpset -w tty5<br> + exec /sbin/getty 38400 tty5 linux<br> -<H2><A NAME="sect3">Options</A></H2> +<h2><a name='sect3' href='#toc3'>Options</a></h2> -<DL> +<dl> -<DT><B>-w</B> </DT> -<DD>wtmp. Additionally to the utmp file, write an empty record for -<I>line</I> to the wtmp file. </DD> -</DL> +<dt><b>-w</b> </dt> +<dd>wtmp. Additionally to the utmp file, write an empty record for +<i>line</i> to the wtmp file. </dd> +</dl> -<H2><A NAME="sect4">Exit Codes</A></H2> -<B>utmpset</B> returns 111 on error, 1 on wrong +<h2><a name='sect4' href='#toc4'>Exit Codes</a></h2> +<b>utmpset</b> returns 111 on error, 1 on wrong usage, 0 in all other cases. -<H2><A NAME="sect5">See Also</A></H2> -<I>runsv(8)</I>, <I>runsvctrl(8)</I>, <I>runsvstat(8)</I>, -<I>runsvdir(8)</I>, <I>runsvchdir(8)</I>, <I>runit(8)</I>, <I>runit-init(8)</I>, <I>getty(8)</I> <P> -<I>http://smarden.org/runit/</I> - -<H2><A NAME="sect6">Author</A></H2> -Gerrit Pape <pape@smarden.org> <P> - -<HR><P> -<A NAME="toc"><B>Table of Contents</B></A><P> -<UL> -<LI><A NAME="toc0" HREF="#sect0">Name</A></LI> -<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI> -<LI><A NAME="toc2" HREF="#sect2">Description</A></LI> -<LI><A NAME="toc3" HREF="#sect3">Options</A></LI> -<LI><A NAME="toc4" HREF="#sect4">Exit Codes</A></LI> -<LI><A NAME="toc5" HREF="#sect5">See Also</A></LI> -<LI><A NAME="toc6" HREF="#sect6">Author</A></LI> -</UL> -</BODY></HTML> +<h2><a name='sect5' href='#toc5'>See Also</a></h2> +<i>runsv(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, +<i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>getty(8)</i> <p> +<i>http://smarden.org/runit/</i> + +<h2><a name='sect6' href='#toc6'>Author</a></h2> +Gerrit Pape <pape@smarden.org> <p> + +<hr><p> +<a name='toc'><b>Table of Contents</b></a><p> +<ul> +<li><a name='toc0' href='#sect0'>Name</a></li> +<li><a name='toc1' href='#sect1'>Synopsis</a></li> +<li><a name='toc2' href='#sect2'>Description</a></li> +<li><a name='toc3' href='#sect3'>Options</a></li> +<li><a name='toc4' href='#sect4'>Exit Codes</a></li> +<li><a name='toc5' href='#sect5'>See Also</a></li> +<li><a name='toc6' href='#sect6'>Author</a></li> +</ul> +</body> +</html> |