source: server/other/xinetd.xml@ c53fc5f6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c53fc5f6 was c53fc5f6, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated build entities and added indexing tags to xinetd instructions; added root commands annotations to tcpwrappers instructions; fixed broken configure command in shadow instructions, pointed out by Farid Bouzaghti

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3572 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz">
8<!ENTITY xinetd-download-ftp " ">
9<!ENTITY xinetd-md5sum "4295b5fe12350f09b5892b363348ac8b">
10<!ENTITY xinetd-size "291 KB">
11<!ENTITY xinetd-buildsize "4.12 MB">
12<!ENTITY xinetd-time "0.11 SBU">
13]>
14
15<sect1 id="xinetd" xreflabel="xinetd-&xinetd-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="xinetd.html"?>
21<title>xinetd-&xinetd-version;</title>
22<indexterm zone="xinetd">
23<primary sortas="a-Xinetd">Xinetd</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application>xinetd</application></title>
27
28<para><application>xinetd</application> is the eXtended InterNET services
29Daemon, a secure replacement for <command>inetd</command>.</para>
30
31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
33<listitem><para>Download (HTTP):
34<ulink url="&xinetd-download-http;"/></para></listitem>
35<listitem><para>Download (FTP):
36<ulink url="&xinetd-download-ftp;"/></para></listitem>
37<listitem><para>Download MD5 sum: &xinetd-md5sum;</para></listitem>
38<listitem><para>Download size: &xinetd-size;</para></listitem>
39<listitem><para>Estimated disk space required:
40&xinetd-buildsize;</para></listitem>
41<listitem><para>Estimated build time:
42&xinetd-time;</para></listitem></itemizedlist>
43</sect3>
44
45<sect3><title><application>xinetd</application> dependencies</title>
46<sect4><title>Optional</title>
47<para><xref linkend="tcpwrappers"/></para>
48</sect4>
49</sect3>
50
51</sect2>
52
53<sect2>
54<title>Installation of <application>xinetd</application></title>
55
56<para>Install <application>xinetd</application> by running the following
57commands:</para>
58
59<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
60make</command></userinput></screen>
61
62<para>Now, as the root user:</para>
63
64<screen><userinput role='root'><command>make install</command></userinput></screen>
65
66</sect2>
67
68<sect2>
69<title>Configuring <application>xinetd</application></title>
70
71<sect3 id="xinetd-config"><title>Config files</title>
72<para><filename>/etc/xinetd.conf</filename></para>
73<indexterm zone="xinetd xinetd-config">
74<primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary></indexterm>
75</sect3>
76
77<sect3><title>Configuration Information</title>
78
79<para>Ensure the path to all daemons is
80<filename class="directory">/usr/sbin</filename>, rather than the default path
81of <filename class="directory">/usr/etc</filename>, and install the
82<application>xinetd</application> configuration file by running the following
83command as the root user:</para>
84
85<screen><userinput role='root'><command>sed -e 's/etc/sbin/g' xinetd/sample.conf &gt; /etc/xinetd.conf</command>
86</userinput></screen>
87
88<para>The format of the <filename>/etc/xinetd.conf</filename> is
89documented in the <filename>xinetd.conf.5</filename> man page. Further
90information can be found at <ulink url="http://www.xinetd.org"/>.</para>
91
92<para id="xinetd-init">As the root user, install the
93<filename>/etc/rc.d/init.d/xinetd</filename> init script included in the
94<xref linkend="intro-important-bootscripts"/> package.</para>
95<indexterm zone="xinetd xinetd-init">
96<primary sortas="f-xinetd">xinetd</primary></indexterm>
97
98<screen><userinput role='root'><command>make install-xinetd</command></userinput></screen>
99
100<para>As the root user, use the new boot script to start
101<command>xinetd</command>:</para>
102
103<screen><userinput role='root'><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
104
105<para>Checking the <filename>/var/log/daemon.log</filename> file
106should prove quite entertaining. This file may contain entries
107similar to the following:</para>
108
109<screen>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
110executable [line=29]
111Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
112DISABLING SERVICE [line=29]
113Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
114executable [line=42]</screen>
115
116<para>These errors are because most of the servers <command>xinetd</command>
117is trying to control are not installed yet.</para>
118</sect3>
119
120</sect2>
121
122<sect2>
123<title>Contents</title>
124
125<segmentedlist>
126<segtitle>Installed Programs</segtitle>
127<segtitle>Installed Libraries</segtitle>
128<segtitle>Installed Directories</segtitle>
129
130<seglistitem>
131<seg>itox, xconv.pl and xinetd</seg>
132<seg>None</seg>
133<seg>None</seg>
134</seglistitem>
135</segmentedlist>
136
137<variablelist>
138<bridgehead renderas="sect3">Short Descriptions</bridgehead>
139<?dbfo list-presentation="list"?>
140
141<varlistentry id="itox">
142<term><command>itox</command></term>
143<listitem><para>is a utility used for converting
144<filename>inetd.conf</filename> files to
145<filename>xinetd.conf</filename> format.</para>
146<indexterm zone="xinetd itox">
147<primary sortas="b-itox">itox</primary>
148</indexterm></listitem>
149</varlistentry>
150
151<varlistentry id="xconv.pl">
152<term><command>xconv.pl</command></term>
153<listitem><para>is a <application>Perl</application> script used for
154converting <filename>inetd.conf</filename> files to
155<filename>xinetd.conf</filename> format, similar to
156<command>itox</command>.</para>
157<indexterm zone="xinetd xconv.pl">
158<primary sortas="b-xconv.pl">xconv.pl</primary>
159</indexterm></listitem>
160</varlistentry>
161
162<varlistentry id="xinetd-prog">
163<term><command>xinetd</command></term>
164<listitem><para>is the Internet services daemon.</para>
165<indexterm zone="xinetd xinetd-prog">
166<primary sortas="b-xinetd">xinetd</primary>
167</indexterm></listitem>
168</varlistentry>
169</variablelist>
170
171</sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.