1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 1991 , Julianne Frances Haugh
4 Copyright (c) 2007 - 2008, Nicolas François
7 Redistribution and use in source and binary forms, with or without
8 modification, are permitted provided that the following conditions
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.
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.
31 <refentry id='logoutd.8'>
32 <!-- $Id: logoutd.8.xml 2435 2008-10-11 11:44:43Z nekral-guest $ -->
34 <refentrytitle>logoutd</refentrytitle>
35 <manvolnum>8</manvolnum>
36 <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
38 <refnamediv id='name'>
39 <refname>logoutd</refname>
40 <refpurpose>Enforce login time restrictions</refpurpose>
42 <!-- body begins here -->
43 <refsynopsisdiv id='synopsis'>
45 <command>logoutd</command>
49 <refsect1 id='description'>
50 <title>DESCRIPTION</title>
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.
67 <term><filename>/etc/porttime</filename></term>
69 <para>File containing port access.</para>
73 <term><filename>/var/run/utmp</filename></term>
75 <para>List of current login sessions.</para>