10.0
10.1
11.0
11.1
11.2
11.3
12.0
12.1
6.0
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
v5_1
xry111/intltool
xry111/llvm18
xry111/soup3
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since a8d6ef3a was a8d6ef3a, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago |
More grammer
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2243 af4574ff-66df-0310-9fd7-8a98e5e911e0
|
-
Property mode
set to
100644
|
File size:
1.8 KB
|
Rev | Line | |
---|
[5f5a393] | 1 | <sect2>
|
---|
[cce6b02e] | 2 | <title>Configuring <application>xinetd</application></title>
|
---|
[5f5a393] | 3 |
|
---|
| 4 | <sect3><title>Config files</title>
|
---|
[5bc2a01] | 5 |
|
---|
[e80cc95] | 6 | <para><filename>/etc/xinetd.conf</filename></para>
|
---|
[5f5a393] | 7 |
|
---|
[5bc2a01] | 8 | </sect3>
|
---|
| 9 |
|
---|
| 10 | <sect3><title>Configuration Information</title>
|
---|
| 11 |
|
---|
[a8d6ef3a] | 12 | <para>Ensure the path to all daemons are in <filename
|
---|
[5bc2a01] | 13 | class="directory">/usr/sbin</filename>, rather than the default path of
|
---|
| 14 | <filename class="directory">/usr/etc</filename>:</para>
|
---|
| 15 |
|
---|
| 16 | <screen><userinput><command>sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf</command>
|
---|
| 17 | </userinput></screen>
|
---|
| 18 |
|
---|
| 19 | <para>The format of the <filename>/etc/xinetd.conf</filename> is
|
---|
| 20 | documented in the xinetd.conf man page. Further information can be
|
---|
| 21 | found at <ulink url="http://www.xinetd.org"/>.</para>
|
---|
| 22 |
|
---|
[ae9c528] | 23 | <para>Install <filename>/etc/rc.d/init.d/xinetd</filename>
|
---|
| 24 | init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
| 25 |
|
---|
| 26 | <screen><userinput><command>make install-xinetd</command></userinput></screen>
|
---|
[5f5a393] | 27 |
|
---|
[cce6b02e] | 28 | <para>Now, we'll use our new boot script to start <command>xinetd</command>: </para>
|
---|
[5bc2a01] | 29 |
|
---|
| 30 | <screen><userinput><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
|
---|
[5f5a393] | 31 |
|
---|
| 32 | <para>Checking the <filename>/var/log/daemon.log</filename> file
|
---|
[5bc2a01] | 33 | should prove quite entertaining. This file may contain entries
|
---|
| 34 | similar to the following:</para>
|
---|
[5f5a393] | 35 |
|
---|
[cce6b02e] | 36 | <screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
---|
[5f5a393] | 37 | executable [line=29]
|
---|
| 38 | Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
|
---|
| 39 | DISABLING SERVICE [line=29]
|
---|
| 40 | Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
|
---|
[cce6b02e] | 41 | executable [line=42]</userinput></screen>
|
---|
[5f5a393] | 42 |
|
---|
| 43 | <para>These errors are due to the fact that we don't have most of the
|
---|
[cce6b02e] | 44 | servers that <command>xinetd</command> is trying to control installed yet.</para>
|
---|
[5bc2a01] | 45 |
|
---|
| 46 | </sect3>
|
---|
[5f5a393] | 47 |
|
---|
[5bc2a01] | 48 | </sect2>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.