10.0
10.1
11.0
11.1
11.2
11.3
12.0
12.1
12.2
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
gimp3
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/for-12.3
xry111/intltool
xry111/llvm18
xry111/soup3
xry111/spidermonkey128
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since b1623c2 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
|
Line | |
---|
1 | <sect2>
|
---|
2 | <title>Configuring <application>xinetd</application></title>
|
---|
3 |
|
---|
4 | <sect3><title>Config files</title>
|
---|
5 |
|
---|
6 | <para><filename>/etc/xinetd.conf</filename></para>
|
---|
7 |
|
---|
8 | </sect3>
|
---|
9 |
|
---|
10 | <sect3><title>Configuration Information</title>
|
---|
11 |
|
---|
12 | <para>Ensure the path to all daemons is <filename
|
---|
13 | class="directory">/usr/sbin</filename>, rather than the default path of
|
---|
14 | <filename class="directory">/usr/etc</filename> by running the following
|
---|
15 | command:</para>
|
---|
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 |
|
---|
24 | <para>Install the <filename>/etc/rc.d/init.d/xinetd</filename>
|
---|
25 | init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
26 |
|
---|
27 | <screen><userinput><command>make install-xinetd</command></userinput></screen>
|
---|
28 |
|
---|
29 | <para>Now, we'll use our new boot script to start <command>xinetd</command>: </para>
|
---|
30 |
|
---|
31 | <screen><userinput><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
|
---|
32 |
|
---|
33 | <para>Checking the <filename>/var/log/daemon.log</filename> file
|
---|
34 | should prove quite entertaining. This file may contain entries
|
---|
35 | similar to the following:</para>
|
---|
36 |
|
---|
37 | <screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
---|
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
|
---|
42 | executable [line=42]</userinput></screen>
|
---|
43 |
|
---|
44 | <para>These errors are because most of the
|
---|
45 | servers <command>xinetd</command> is trying to control are not installed yet.</para>
|
---|
46 |
|
---|
47 | </sect3>
|
---|
48 |
|
---|
49 | </sect2>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.