[0931098] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[0931098] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0a2b9de8] | 7 | <!-- Development seems to be over and the xinetd.og site does not seem to exist any more. -->
|
---|
| 8 | <!-- <!ENTITY xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz"> -->
|
---|
| 9 | <!ENTITY xinetd-download-http " ">
|
---|
[fb2e525] | 10 | <!ENTITY xinetd-download-ftp "&gentoo-ftp-repo;/xinetd-&xinetd-version;.tar.gz">
|
---|
[9937138c] | 11 | <!ENTITY xinetd-md5sum "77358478fd58efa6366accae99b8b04c">
|
---|
| 12 | <!ENTITY xinetd-size "308 KB">
|
---|
| 13 | <!ENTITY xinetd-buildsize "5.0 MB">
|
---|
[5a832414] | 14 | <!ENTITY xinetd-time "less than 0.1 SBU">
|
---|
[0931098] | 15 | ]>
|
---|
| 16 |
|
---|
[5f5a393] | 17 | <sect1 id="xinetd" xreflabel="xinetd-&xinetd-version;">
|
---|
[66b825e0] | 18 | <?dbhtml filename="xinetd.html"?>
|
---|
[65483be1] | 19 |
|
---|
[66b825e0] | 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
[65483be1] | 24 |
|
---|
[66b825e0] | 25 | <title>xinetd-&xinetd-version;</title>
|
---|
[f45b1953] | 26 |
|
---|
[66b825e0] | 27 | <indexterm zone="xinetd">
|
---|
| 28 | <primary sortas="a-Xinetd">Xinetd</primary>
|
---|
| 29 | </indexterm>
|
---|
[0931098] | 30 |
|
---|
[66b825e0] | 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to xinetd</title>
|
---|
[0931098] | 33 |
|
---|
[66b825e0] | 34 | <para><application>xinetd</application> is the eXtended InterNET services
|
---|
[5a832414] | 35 | daemon, a secure replacement for <command>inetd</command>.</para>
|
---|
[0931098] | 36 |
|
---|
[283bd88] | 37 | &lfs74_checked;
|
---|
[0a2b9de8] | 38 |
|
---|
[66b825e0] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&xinetd-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&xinetd-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &xinetd-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &xinetd-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &xinetd-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &xinetd-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[65483be1] | 60 |
|
---|
[66b825e0] | 61 | <bridgehead renderas="sect3">xinetd Dependencies</bridgehead>
|
---|
[620a57e] | 62 |
|
---|
[9937138c] | 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 64 | <para role="required"><xref linkend="libtirpc"/></para>
|
---|
| 65 |
|
---|
[66b825e0] | 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9937138c] | 67 | <para role="optional"><ulink url="ftp://ftp.porcupine.org/pub/security/">tcpwrappers (deprecated)</ulink></para>
|
---|
[0931098] | 68 |
|
---|
[3cb0c57] | 69 | <para condition="html" role="usernotes">User Notes:
|
---|
| 70 | <ulink url="&blfs-wiki;/xinetd"/></para>
|
---|
| 71 |
|
---|
[66b825e0] | 72 | </sect2>
|
---|
[0931098] | 73 |
|
---|
[66b825e0] | 74 | <sect2 role="installation">
|
---|
| 75 | <title>Installation of xinetd</title>
|
---|
[0931098] | 76 |
|
---|
[66b825e0] | 77 | <para>Install <application>xinetd</application> by running the following
|
---|
| 78 | commands:</para>
|
---|
[c53fc5f6] | 79 |
|
---|
[9937138c] | 80 | <screen><userinput>sed -i -e "/^LIBS/s/-lpset/& -ltirpc/" xinetd/Makefile.in &&
|
---|
| 81 | sed -i -e "/register unsigned count/s/register//" xinetd/itox.c &&
|
---|
[283bd88] | 82 |
|
---|
[9937138c] | 83 | ./configure --prefix=/usr --with-loadavg &&
|
---|
[66b825e0] | 84 | make</userinput></screen>
|
---|
[c53fc5f6] | 85 |
|
---|
[5a832414] | 86 | <para>This package does not come with a test suite.</para>
|
---|
| 87 |
|
---|
[66b825e0] | 88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[0931098] | 89 |
|
---|
[66b825e0] | 90 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[0931098] | 91 |
|
---|
[66b825e0] | 92 | </sect2>
|
---|
[0931098] | 93 |
|
---|
[9937138c] | 94 | <sect2 role="commands">
|
---|
| 95 | <title>Command Explanations</title>
|
---|
| 96 |
|
---|
| 97 | <para><command>sed ... xinetd/Makefile.in</command>: Ensure the program
|
---|
| 98 | links against the libtirpc library.</para>
|
---|
| 99 |
|
---|
[0d7900a] | 100 | <para><command>sed ... xinetd/itox.c</command>: Fix some compiler
|
---|
[9937138c] | 101 | warnings.</para>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
[66b825e0] | 105 | <sect2 role="configuration">
|
---|
| 106 | <title>Configuring xinetd</title>
|
---|
[65483be1] | 107 |
|
---|
[66b825e0] | 108 | <sect3 id="xinetd-config">
|
---|
| 109 | <title>Config Files</title>
|
---|
[65483be1] | 110 |
|
---|
[5a832414] | 111 | <para><filename>/etc/xinetd.conf</filename> and
|
---|
| 112 | <filename class='directory'>/etc/xinetd.d/*</filename></para>
|
---|
[0931098] | 113 |
|
---|
[66b825e0] | 114 | <indexterm zone="xinetd xinetd-config">
|
---|
| 115 | <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
|
---|
| 116 | </indexterm>
|
---|
[0931098] | 117 |
|
---|
[5a832414] | 118 | <indexterm zone="xinetd xinetd-config">
|
---|
| 119 | <primary sortas="e-etc-xinetd.d">/etc/xinetd.d/*</primary>
|
---|
| 120 | </indexterm>
|
---|
| 121 |
|
---|
[66b825e0] | 122 | </sect3>
|
---|
[1f672c1] | 123 |
|
---|
[66b825e0] | 124 | <sect3>
|
---|
| 125 | <title>Configuration Information</title>
|
---|
| 126 |
|
---|
| 127 | <para>Ensure the path to all daemons is
|
---|
| 128 | <filename class="directory">/usr/sbin</filename>, rather than the default
|
---|
[9937138c] | 129 | path of <filename class="directory">/usr/bin</filename>, and install the
|
---|
[66b825e0] | 130 | <application>xinetd</application> configuration files by running the
|
---|
| 131 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 132 | user:</para>
|
---|
| 133 |
|
---|
| 134 | <screen role="root"><userinput>cat > /etc/xinetd.conf << "EOF"
|
---|
| 135 | <literal># Begin /etc/xinetd
|
---|
[1f672c1] | 136 | # Configuration file for xinetd
|
---|
| 137 |
|
---|
| 138 | defaults
|
---|
| 139 | {
|
---|
| 140 | instances = 60
|
---|
| 141 | log_type = SYSLOG daemon
|
---|
| 142 | log_on_success = HOST PID USERID
|
---|
| 143 | log_on_failure = HOST USERID
|
---|
| 144 | cps = 25 30
|
---|
| 145 | }
|
---|
| 146 |
|
---|
| 147 | # All service files are stored in the /etc/xinetd.d directory
|
---|
[9937138c] | 148 |
|
---|
[1f672c1] | 149 | includedir /etc/xinetd.d
|
---|
[9937138c] | 150 |
|
---|
[66b825e0] | 151 | # End /etc/xinetd</literal>
|
---|
| 152 | EOF</userinput></screen>
|
---|
| 153 |
|
---|
| 154 | <para>All of the following files have the statement, "disable = yes".
|
---|
| 155 | To activate any of the services, this statement will need to be changed
|
---|
| 156 | to "disable = no".</para>
|
---|
| 157 |
|
---|
| 158 | <note>
|
---|
[9937138c] | 159 | <para>The following files are listed to demonstrate several
|
---|
[66b825e0] | 160 | <application>xinetd</application> applications. In many cases, these
|
---|
[9937138c] | 161 | applications are not needed. Some classic applications are
|
---|
[66b825e0] | 162 | considered security risks. For example, <command>telnet</command>,
|
---|
| 163 | <command>rlogin</command>, <command>rexec</command>, and
|
---|
| 164 | <command>rsh</command> transmit unencrypted usernames and passwords
|
---|
| 165 | over the network and can be easily replaced with a more secure
|
---|
| 166 | alternative: <command>ssh</command>.</para>
|
---|
| 167 | </note>
|
---|
| 168 |
|
---|
[8e37798] | 169 | <screen role="root"><?dbfo keep-together="auto"?><userinput>install -v -d -m755 /etc/xinetd.d &&
|
---|
[1f672c1] | 170 |
|
---|
[66b825e0] | 171 | cat > /etc/xinetd.d/systat << "EOF" &&
|
---|
| 172 | <literal># Begin /etc/xinetd.d/systat
|
---|
[1f672c1] | 173 |
|
---|
| 174 | service systat
|
---|
| 175 | {
|
---|
| 176 | disable = yes
|
---|
| 177 | socket_type = stream
|
---|
| 178 | wait = no
|
---|
| 179 | user = nobody
|
---|
| 180 | server = /usr/bin/ps
|
---|
| 181 | server_args = -auwwx
|
---|
| 182 | only_from = 128.138.209.0
|
---|
| 183 | log_on_success = HOST
|
---|
| 184 | }
|
---|
| 185 |
|
---|
[66b825e0] | 186 | # End /etc/xinetd.d/systat</literal>
|
---|
| 187 | EOF
|
---|
[1f672c1] | 188 |
|
---|
[66b825e0] | 189 | cat > /etc/xinetd.d/echo << "EOF" &&
|
---|
| 190 | <literal># Begin /etc/xinetd.d/echo
|
---|
[1f672c1] | 191 |
|
---|
| 192 | service echo
|
---|
| 193 | {
|
---|
| 194 | disable = yes
|
---|
| 195 | type = INTERNAL
|
---|
| 196 | id = echo-stream
|
---|
| 197 | socket_type = stream
|
---|
| 198 | protocol = tcp
|
---|
| 199 | user = root
|
---|
| 200 | wait = no
|
---|
| 201 | }
|
---|
| 202 |
|
---|
| 203 | service echo
|
---|
| 204 | {
|
---|
| 205 | disable = yes
|
---|
| 206 | type = INTERNAL
|
---|
| 207 | id = echo-dgram
|
---|
| 208 | socket_type = dgram
|
---|
| 209 | protocol = udp
|
---|
| 210 | user = root
|
---|
| 211 | wait = yes
|
---|
| 212 | }
|
---|
| 213 |
|
---|
[66b825e0] | 214 | # End /etc/xinetd.d/echo</literal>
|
---|
| 215 | EOF
|
---|
[9937138c] | 216 |
|
---|
[66b825e0] | 217 | cat > /etc/xinetd.d/chargen << "EOF" &&
|
---|
| 218 | <literal># Begin /etc/xinetd.d/chargen
|
---|
[1f672c1] | 219 |
|
---|
| 220 | service chargen
|
---|
| 221 | {
|
---|
| 222 | disable = yes
|
---|
| 223 | type = INTERNAL
|
---|
| 224 | id = chargen-stream
|
---|
| 225 | socket_type = stream
|
---|
| 226 | protocol = tcp
|
---|
| 227 | user = root
|
---|
| 228 | wait = no
|
---|
| 229 | }
|
---|
| 230 |
|
---|
| 231 | service chargen
|
---|
| 232 | {
|
---|
| 233 | disable = yes
|
---|
| 234 | type = INTERNAL
|
---|
| 235 | id = chargen-dgram
|
---|
| 236 | socket_type = dgram
|
---|
| 237 | protocol = udp
|
---|
| 238 | user = root
|
---|
| 239 | wait = yes
|
---|
| 240 | }
|
---|
| 241 |
|
---|
[66b825e0] | 242 | # End /etc/xinetd.d/chargen</literal>
|
---|
| 243 | EOF
|
---|
[9937138c] | 244 |
|
---|
[66b825e0] | 245 | cat > /etc/xinetd.d/daytime << "EOF" &&
|
---|
| 246 | <literal># Begin /etc/xinetd.d/daytime
|
---|
[1f672c1] | 247 |
|
---|
| 248 | service daytime
|
---|
| 249 | {
|
---|
| 250 | disable = yes
|
---|
| 251 | type = INTERNAL
|
---|
| 252 | id = daytime-stream
|
---|
| 253 | socket_type = stream
|
---|
| 254 | protocol = tcp
|
---|
| 255 | user = root
|
---|
| 256 | wait = no
|
---|
| 257 | }
|
---|
| 258 |
|
---|
| 259 | service daytime
|
---|
| 260 | {
|
---|
| 261 | disable = yes
|
---|
| 262 | type = INTERNAL
|
---|
| 263 | id = daytime-dgram
|
---|
| 264 | socket_type = dgram
|
---|
| 265 | protocol = udp
|
---|
| 266 | user = root
|
---|
| 267 | wait = yes
|
---|
| 268 | }
|
---|
| 269 |
|
---|
[66b825e0] | 270 | # End /etc/xinetd.d/daytime</literal>
|
---|
| 271 | EOF
|
---|
[cb435106] | 272 | <!-- The last one without && -->
|
---|
| 273 | cat > /etc/xinetd.d/time << "EOF"
|
---|
[66b825e0] | 274 | <literal># Begin /etc/xinetd.d/time
|
---|
[1f672c1] | 275 |
|
---|
| 276 | service time
|
---|
| 277 | {
|
---|
| 278 | disable = yes
|
---|
| 279 | type = INTERNAL
|
---|
| 280 | id = time-stream
|
---|
| 281 | socket_type = stream
|
---|
| 282 | protocol = tcp
|
---|
| 283 | user = root
|
---|
| 284 | wait = no
|
---|
| 285 | }
|
---|
| 286 |
|
---|
| 287 | service time
|
---|
| 288 | {
|
---|
| 289 | disable = yes
|
---|
| 290 | type = INTERNAL
|
---|
| 291 | id = time-dgram
|
---|
| 292 | socket_type = dgram
|
---|
| 293 | protocol = udp
|
---|
| 294 | user = root
|
---|
| 295 | wait = yes
|
---|
| 296 | }
|
---|
| 297 |
|
---|
[66b825e0] | 298 | # End /etc/xinetd.d/time</literal>
|
---|
| 299 | EOF</userinput></screen>
|
---|
[65483be1] | 300 |
|
---|
[66b825e0] | 301 | <indexterm zone="xinetd xinetd-config">
|
---|
| 302 | <primary sortas="e-etc-xinetd.d-login">/etc/xinetd.d/login</primary>
|
---|
| 303 | </indexterm>
|
---|
[65483be1] | 304 |
|
---|
[66b825e0] | 305 | <indexterm zone="xinetd xinetd-config">
|
---|
| 306 | <primary sortas="e-etc-xinetd.d-shell">/etc/xinetd.d/shell</primary>
|
---|
| 307 | </indexterm>
|
---|
[65483be1] | 308 |
|
---|
[66b825e0] | 309 | <indexterm zone="xinetd xinetd-config">
|
---|
| 310 | <primary sortas="e-etc-xinetd.d-exec">/etc/xinetd.d/exec</primary>
|
---|
| 311 | </indexterm>
|
---|
[65483be1] | 312 |
|
---|
[66b825e0] | 313 | <indexterm zone="xinetd xinetd-config">
|
---|
| 314 | <primary sortas="e-etc-xinetd.d-comsat">/etc/xinetd.d/comsat</primary>
|
---|
| 315 | </indexterm>
|
---|
[65483be1] | 316 |
|
---|
[66b825e0] | 317 | <indexterm zone="xinetd xinetd-config">
|
---|
| 318 | <primary sortas="e-etc-xinetd.d-talk">/etc/xinetd.d/talk</primary>
|
---|
| 319 | </indexterm>
|
---|
[65483be1] | 320 |
|
---|
[66b825e0] | 321 | <indexterm zone="xinetd xinetd-config">
|
---|
| 322 | <primary sortas="e-etc-xinetd.d-ntalk">/etc/xinetd.d/ntalk</primary>
|
---|
| 323 | </indexterm>
|
---|
[65483be1] | 324 |
|
---|
[66b825e0] | 325 | <indexterm zone="xinetd xinetd-config">
|
---|
| 326 | <primary sortas="e-etc-xinetd.d-telnet">/etc/xinetd.d/telnet</primary>
|
---|
| 327 | </indexterm>
|
---|
[65483be1] | 328 |
|
---|
[66b825e0] | 329 | <indexterm zone="xinetd xinetd-config">
|
---|
| 330 | <primary sortas="e-etc-xinetd.d-ftp">/etc/xinetd.d/ftp</primary>
|
---|
| 331 | </indexterm>
|
---|
[65483be1] | 332 |
|
---|
[66b825e0] | 333 | <indexterm zone="xinetd xinetd-config">
|
---|
| 334 | <primary sortas="e-etc-xinetd.d-tftp">/etc/xinetd.d/tftp</primary>
|
---|
| 335 | </indexterm>
|
---|
[65483be1] | 336 |
|
---|
[66b825e0] | 337 | <indexterm zone="xinetd xinetd-config">
|
---|
| 338 | <primary sortas="e-etc-xinetd.d-systat">/etc/xinetd.d/systat</primary>
|
---|
| 339 | </indexterm>
|
---|
[65483be1] | 340 |
|
---|
[66b825e0] | 341 | <indexterm zone="xinetd xinetd-config">
|
---|
| 342 | <primary sortas="e-etc-xinetd.d-finger">/etc/xinetd.d/finger</primary>
|
---|
| 343 | </indexterm>
|
---|
[65483be1] | 344 |
|
---|
[66b825e0] | 345 | <indexterm zone="xinetd xinetd-config">
|
---|
| 346 | <primary sortas="e-etc-xinetd.d-netstat">/etc/xinetd.d/netstat</primary>
|
---|
| 347 | </indexterm>
|
---|
[65483be1] | 348 |
|
---|
[66b825e0] | 349 | <indexterm zone="xinetd xinetd-config">
|
---|
| 350 | <primary sortas="e-etc-xinetd.d-echo">/etc/xinetd.d/echo</primary>
|
---|
| 351 | </indexterm>
|
---|
[65483be1] | 352 |
|
---|
[66b825e0] | 353 | <indexterm zone="xinetd xinetd-config">
|
---|
| 354 | <primary sortas="e-etc-xinetd.d-chargen">/etc/xinetd.d/chargen</primary>
|
---|
| 355 | </indexterm>
|
---|
[65483be1] | 356 |
|
---|
[66b825e0] | 357 | <indexterm zone="xinetd xinetd-config">
|
---|
| 358 | <primary sortas="e-etc-xinetd.d-daytime">/etc/xinetd.d/daytime</primary>
|
---|
| 359 | </indexterm>
|
---|
[65483be1] | 360 |
|
---|
[66b825e0] | 361 | <indexterm zone="xinetd xinetd-config">
|
---|
| 362 | <primary sortas="e-etc-xinetd.d-time">/etc/xinetd.d/time</primary>
|
---|
| 363 | </indexterm>
|
---|
[65483be1] | 364 |
|
---|
[66b825e0] | 365 | <indexterm zone="xinetd xinetd-config">
|
---|
| 366 | <primary sortas="e-etc-xinetd.d-rstatd">/etc/xinetd.d/rstatd</primary>
|
---|
| 367 | </indexterm>
|
---|
[65483be1] | 368 |
|
---|
[66b825e0] | 369 | <indexterm zone="xinetd xinetd-config">
|
---|
| 370 | <primary sortas="e-etc-xinetd.d-rquotad">/etc/xinetd.d/rquotad</primary>
|
---|
| 371 | </indexterm>
|
---|
[65483be1] | 372 |
|
---|
[66b825e0] | 373 | <indexterm zone="xinetd xinetd-config">
|
---|
| 374 | <primary sortas="e-etc-xinetd.d-ruserd">/etc/xinetd.d/ruserd</primary>
|
---|
| 375 | </indexterm>
|
---|
[65483be1] | 376 |
|
---|
[66b825e0] | 377 | <indexterm zone="xinetd xinetd-config">
|
---|
| 378 | <primary sortas="e-etc-xinetd.d-sprayd">/etc/xinetd.d/sprayd</primary>
|
---|
| 379 | </indexterm>
|
---|
[65483be1] | 380 |
|
---|
[66b825e0] | 381 | <indexterm zone="xinetd xinetd-config">
|
---|
| 382 | <primary sortas="e-etc-xinetd.d-walld">/etc/xinetd.d/walld</primary>
|
---|
| 383 | </indexterm>
|
---|
[65483be1] | 384 |
|
---|
[66b825e0] | 385 | <indexterm zone="xinetd xinetd-config">
|
---|
| 386 | <primary sortas="e-etc-xinetd.d-irc">/etc/xinetd.d/irc</primary>
|
---|
| 387 | </indexterm>
|
---|
[65483be1] | 388 |
|
---|
[66b825e0] | 389 | <para>The format of the <filename>/etc/xinetd.conf</filename> is
|
---|
[a754ee2b] | 390 | documented in the <filename>xinetd.conf.5</filename> man page.
|
---|
| 391 | <!-- 13-12-12 the http://www.xinetd.org is broken
|
---|
| 392 | Further
|
---|
| 393 | information can be found at <ulink url="http://www.xinetd.org"/>.
|
---|
| 394 | -->
|
---|
| 395 | </para>
|
---|
[0931098] | 396 |
|
---|
[66b825e0] | 397 | </sect3>
|
---|
[0931098] | 398 |
|
---|
[66b825e0] | 399 | <sect3 id="xinetd-init">
|
---|
| 400 | <title>Boot Script</title>
|
---|
[0931098] | 401 |
|
---|
[66b825e0] | 402 | <para>As the <systemitem class="username">root</systemitem> user, install
|
---|
| 403 | the <filename>/etc/rc.d/init.d/xinetd</filename> init script included in
|
---|
[5254d12] | 404 | the <xref linkend="bootscripts"/> package.</para>
|
---|
[65483be1] | 405 |
|
---|
[66b825e0] | 406 | <indexterm zone="xinetd xinetd-init">
|
---|
| 407 | <primary sortas="f-xinetd">xinetd</primary>
|
---|
| 408 | </indexterm>
|
---|
[620a57e] | 409 |
|
---|
[66b825e0] | 410 | <screen role="root"><userinput>make install-xinetd</userinput></screen>
|
---|
[0931098] | 411 |
|
---|
[66b825e0] | 412 | <para>As the <systemitem class="username">root</systemitem> user,
|
---|
| 413 | use the new boot script to start <command>xinetd</command>:</para>
|
---|
[0931098] | 414 |
|
---|
[66b825e0] | 415 | <screen role="root"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen>
|
---|
[0931098] | 416 |
|
---|
[9937138c] | 417 | <para>Check the <filename>/var/log/daemon.log</filename> to ensure the
|
---|
| 418 | appropriate services are started. If no services are enabled, the program
|
---|
| 419 | will not start without the <option>-stayalive</option> option.</para>
|
---|
[0931098] | 420 |
|
---|
[9937138c] | 421 | <!--
|
---|
[66b825e0] | 422 | <screen><literal>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
---|
[0931098] | 423 | executable [line=29]
|
---|
| 424 | Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
|
---|
| 425 | DISABLING SERVICE [line=29]
|
---|
| 426 | Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
|
---|
[66b825e0] | 427 | executable [line=42]</literal></screen>
|
---|
| 428 |
|
---|
| 429 | <para>These errors are because most of the servers
|
---|
| 430 | <command>xinetd</command> is trying to control are not
|
---|
| 431 | installed yet.</para>
|
---|
[9937138c] | 432 | -->
|
---|
[66b825e0] | 433 | </sect3>
|
---|
| 434 |
|
---|
| 435 | </sect2>
|
---|
| 436 |
|
---|
| 437 | <sect2 role="content">
|
---|
| 438 | <title>Contents</title>
|
---|
| 439 |
|
---|
| 440 | <segmentedlist>
|
---|
| 441 | <segtitle>Installed Programs</segtitle>
|
---|
| 442 | <segtitle>Installed Libraries</segtitle>
|
---|
| 443 | <segtitle>Installed Directories</segtitle>
|
---|
| 444 |
|
---|
| 445 | <seglistitem>
|
---|
| 446 | <seg>itox, xconv.pl, and xinetd</seg>
|
---|
| 447 | <seg>None</seg>
|
---|
| 448 | <seg>/etc/xinetd.d/</seg>
|
---|
| 449 | </seglistitem>
|
---|
| 450 | </segmentedlist>
|
---|
| 451 |
|
---|
| 452 | <variablelist>
|
---|
| 453 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 454 | <?dbfo list-presentation="list"?>
|
---|
| 455 | <?dbhtml list-presentation="table"?>
|
---|
| 456 |
|
---|
| 457 | <varlistentry id="itox">
|
---|
| 458 | <term><command>itox</command></term>
|
---|
| 459 | <listitem>
|
---|
| 460 | <para>is a utility used for converting
|
---|
| 461 | <filename>inetd.conf</filename> files to
|
---|
| 462 | <filename>xinetd.conf</filename> format.</para>
|
---|
| 463 | <indexterm zone="xinetd itox">
|
---|
| 464 | <primary sortas="b-itox">itox</primary>
|
---|
| 465 | </indexterm>
|
---|
| 466 | </listitem>
|
---|
| 467 | </varlistentry>
|
---|
| 468 |
|
---|
| 469 | <varlistentry id="xconv.pl">
|
---|
| 470 | <term><command>xconv.pl</command></term>
|
---|
| 471 | <listitem>
|
---|
| 472 | <para>is a <application>Perl</application> script used for
|
---|
| 473 | converting <filename>inetd.conf</filename> files to
|
---|
| 474 | <filename>xinetd.conf</filename> format, similar to
|
---|
| 475 | <command>itox</command>.</para>
|
---|
| 476 | <indexterm zone="xinetd xconv.pl">
|
---|
| 477 | <primary sortas="b-xconv.pl">xconv.pl</primary>
|
---|
| 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
| 481 |
|
---|
| 482 | <varlistentry id="xinetd-prog">
|
---|
| 483 | <term><command>xinetd</command></term>
|
---|
| 484 | <listitem>
|
---|
| 485 | <para>is the Internet services daemon.</para>
|
---|
| 486 | <indexterm zone="xinetd xinetd-prog">
|
---|
| 487 | <primary sortas="b-xinetd">xinetd</primary>
|
---|
| 488 | </indexterm>
|
---|
| 489 | </listitem>
|
---|
| 490 | </varlistentry>
|
---|
| 491 |
|
---|
| 492 | </variablelist>
|
---|
| 493 |
|
---|
| 494 | </sect2>
|
---|
[f45b1953] | 495 |
|
---|
| 496 | </sect1>
|
---|