glfs/server/other/xinetd.xml

174 lines
5.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz">
<!ENTITY xinetd-download-ftp " ">
<!ENTITY xinetd-md5sum "4295b5fe12350f09b5892b363348ac8b">
<!ENTITY xinetd-size "291 KB">
<!ENTITY xinetd-buildsize "4.12 MB">
<!ENTITY xinetd-time "0.11 SBU">
]>
<sect1 id="xinetd" xreflabel="xinetd-&xinetd-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="xinetd.html"?>
<title>xinetd-&xinetd-version;</title>
<indexterm zone="xinetd">
<primary sortas="a-Xinetd">Xinetd</primary></indexterm>
<sect2>
<title>Introduction to <application>xinetd</application></title>
<para><application>xinetd</application> is the eXtended InterNET services
Daemon, a secure replacement for <command>inetd</command>.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP):
<ulink url="&xinetd-download-http;"/></para></listitem>
<listitem><para>Download (FTP):
<ulink url="&xinetd-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum: &xinetd-md5sum;</para></listitem>
<listitem><para>Download size: &xinetd-size;</para></listitem>
<listitem><para>Estimated disk space required:
&xinetd-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&xinetd-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>xinetd</application> dependencies</title>
<sect4><title>Optional</title>
<para><xref linkend="tcpwrappers"/></para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>xinetd</application></title>
<para>Install <application>xinetd</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install</command></userinput></screen>
</sect2>
<sect2>
<title>Configuring <application>xinetd</application></title>
<sect3 id="xinetd-config"><title>Config files</title>
<para><filename>/etc/xinetd.conf</filename></para>
<indexterm zone="xinetd xinetd-config">
<primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary></indexterm>
</sect3>
<sect3><title>Configuration Information</title>
<para>Ensure the path to all daemons is
<filename class="directory">/usr/sbin</filename>, rather than the default path
of <filename class="directory">/usr/etc</filename>, and install the
<application>xinetd</application> configuration file by running the following
command as the root user:</para>
<screen><userinput role='root'><command>sed -e 's/etc/sbin/g' xinetd/sample.conf &gt; /etc/xinetd.conf</command>
</userinput></screen>
<para>The format of the <filename>/etc/xinetd.conf</filename> is
documented in the <filename>xinetd.conf.5</filename> man page. Further
information can be found at <ulink url="http://www.xinetd.org"/>.</para>
<para id="xinetd-init">As the root user, install the
<filename>/etc/rc.d/init.d/xinetd</filename> init script included in the
<xref linkend="intro-important-bootscripts"/> package.</para>
<indexterm zone="xinetd xinetd-init">
<primary sortas="f-xinetd">xinetd</primary></indexterm>
<screen><userinput role='root'><command>make install-xinetd</command></userinput></screen>
<para>As the root user, use the new boot script to start
<command>xinetd</command>:</para>
<screen><userinput role='root'><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
<para>Checking the <filename>/var/log/daemon.log</filename> file
should prove quite entertaining. This file may contain entries
similar to the following:</para>
<screen>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
executable [line=29]
Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
DISABLING SERVICE [line=29]
Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
executable [line=42]</screen>
<para>These errors are because most of the servers <command>xinetd</command>
is trying to control are not installed yet.</para>
</sect3>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>itox, xconv.pl and xinetd</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="itox">
<term><command>itox</command></term>
<listitem><para>is a utility used for converting
<filename>inetd.conf</filename> files to
<filename>xinetd.conf</filename> format.</para>
<indexterm zone="xinetd itox">
<primary sortas="b-itox">itox</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="xconv.pl">
<term><command>xconv.pl</command></term>
<listitem><para>is a <application>Perl</application> script used for
converting <filename>inetd.conf</filename> files to
<filename>xinetd.conf</filename> format, similar to
<command>itox</command>.</para>
<indexterm zone="xinetd xconv.pl">
<primary sortas="b-xconv.pl">xconv.pl</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="xinetd-prog">
<term><command>xinetd</command></term>
<listitem><para>is the Internet services daemon.</para>
<indexterm zone="xinetd xinetd-prog">
<primary sortas="b-xinetd">xinetd</primary>
</indexterm></listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>