Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / logoutd.8.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (c) 1991       , Julianne Frances Haugh
4    Copyright (c) 2007 - 2008, Nicolas François
5    All rights reserved.
6   
7    Redistribution and use in source and binary forms, with or without
8    modification, are permitted provided that the following conditions
9    are met:
10    1. Redistributions of source code must retain the above copyright
11       notice, this list of conditions and the following disclaimer.
12    2. Redistributions in binary form must reproduce the above copyright
13       notice, this list of conditions and the following disclaimer in the
14       documentation and/or other materials provided with the distribution.
15    3. The name of the copyright holders or contributors may not be used to
16       endorse or promote products derived from this software without
17       specific prior written permission.
18   
19    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20    ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
23    HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 -->
31 <refentry id='logoutd.8'>
32   <!-- $Id: logoutd.8.xml 2435 2008-10-11 11:44:43Z nekral-guest $ -->
33   <refmeta>
34     <refentrytitle>logoutd</refentrytitle>
35     <manvolnum>8</manvolnum>
36     <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
37   </refmeta>
38   <refnamediv id='name'>
39     <refname>logoutd</refname>
40     <refpurpose>Enforce login time restrictions</refpurpose>
41   </refnamediv>
42   <!-- body begins here -->
43   <refsynopsisdiv id='synopsis'>
44     <cmdsynopsis>
45       <command>logoutd</command>
46     </cmdsynopsis>
47   </refsynopsisdiv>
48
49   <refsect1 id='description'>
50     <title>DESCRIPTION</title>
51     <para>
52       <command>logoutd</command> enforces the login time and port
53       restrictions specified in <filename>/etc/porttime</filename>. 
54       <command>logoutd</command> should be started from
55       <filename>/etc/rc</filename>. The <filename>/var/run/utmp</filename>
56       file is scanned periodically and each user name is checked to see if
57       the named user is permitted on the named port at the current time. 
58       Any login session which is violating the restrictions in
59       <filename>/etc/porttime</filename> is terminated.
60     </para>
61   </refsect1>
62
63   <refsect1 id='files'>
64     <title>FILES</title>
65     <variablelist>
66       <varlistentry>
67         <term><filename>/etc/porttime</filename></term>
68         <listitem>
69           <para>File containing port access.</para>
70         </listitem>
71       </varlistentry>
72       <varlistentry>
73         <term><filename>/var/run/utmp</filename></term>
74         <listitem>
75           <para>List of current login sessions.</para>
76         </listitem>
77       </varlistentry>
78     </variablelist>
79   </refsect1>
80 </refentry>