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 65df9fca was 65df9fca, checked in by Larry Lawrence <larry@…>, 20 years ago |
grammar corrections
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2252 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 |
|
---|
[65df9fca] | 12 | <para>Ensure the path to all daemons is <filename
|
---|
[5bc2a01] | 13 | class="directory">/usr/sbin</filename>, rather than the default path of
|
---|
[65df9fca] | 14 | <filename class="directory">/usr/etc</filename> by running the following
|
---|
| 15 | command:</para>
|
---|
[5bc2a01] | 16 |
|
---|
| 17 | <screen><userinput><command>sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf</command>
|
---|
| 18 | </userinput></screen>
|
---|
| 19 |
|
---|
| 20 | <para>The format of the <filename>/etc/xinetd.conf</filename> is
|
---|
| 21 | documented in the xinetd.conf man page. Further information can be
|
---|
| 22 | found at <ulink url="http://www.xinetd.org"/>.</para>
|
---|
| 23 |
|
---|
[65df9fca] | 24 | <para>Install the <filename>/etc/rc.d/init.d/xinetd</filename>
|
---|
[ae9c528] | 25 | init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
| 26 |
|
---|
| 27 | <screen><userinput><command>make install-xinetd</command></userinput></screen>
|
---|
[5f5a393] | 28 |
|
---|
[cce6b02e] | 29 | <para>Now, we'll use our new boot script to start <command>xinetd</command>: </para>
|
---|
[5bc2a01] | 30 |
|
---|
| 31 | <screen><userinput><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
|
---|
[5f5a393] | 32 |
|
---|
| 33 | <para>Checking the <filename>/var/log/daemon.log</filename> file
|
---|
[5bc2a01] | 34 | should prove quite entertaining. This file may contain entries
|
---|
| 35 | similar to the following:</para>
|
---|
[5f5a393] | 36 |
|
---|
[cce6b02e] | 37 | <screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
---|
[5f5a393] | 38 | executable [line=29]
|
---|
| 39 | Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
|
---|
| 40 | DISABLING SERVICE [line=29]
|
---|
| 41 | Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
|
---|
[cce6b02e] | 42 | executable [line=42]</userinput></screen>
|
---|
[5f5a393] | 43 |
|
---|
[65df9fca] | 44 | <para>These errors are because most of the
|
---|
| 45 | servers <command>xinetd</command> is trying to control are not installed yet.</para>
|
---|
[5bc2a01] | 46 |
|
---|
| 47 | </sect3>
|
---|
[5f5a393] | 48 |
|
---|
[5bc2a01] | 49 | </sect2>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.