Changeset 66b825e0
- Timestamp:
- 05/18/2005 06:27:57 PM (19 years ago)
- Branches:
- 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
- Children:
- 59bfedf5
- Parents:
- 7c8e014
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/major/xinetd.xml
r7c8e014 r66b825e0 5 5 %general-entities; 6 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">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 13 ]> 14 14 15 15 <sect1 id="xinetd" xreflabel="xinetd-&xinetd-version;"> 16 <sect1info> 17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 </sect1info> 20 21 <?dbhtml filename="xinetd.html"?> 22 <title>xinetd-&xinetd-version;</title> 23 24 <indexterm zone="xinetd"> 25 <primary sortas="a-Xinetd">Xinetd</primary> 26 </indexterm> 27 28 <sect2> 29 <title>Introduction to <application>xinetd</application></title> 30 31 <para><application>xinetd</application> is the eXtended InterNET services 32 Daemon, a secure replacement for <command>inetd</command>.</para> 33 34 <sect3> 35 <title>Package information</title> 36 <itemizedlist spacing='compact'> 37 <listitem><para>Download (HTTP): <ulink url="&xinetd-download-http;"/></para></listitem> 38 <listitem><para>Download (FTP): <ulink url="&xinetd-download-ftp;"/></para></listitem> 39 <listitem><para>Download MD5 sum: &xinetd-md5sum;</para></listitem> 40 <listitem><para>Download size: &xinetd-size;</para></listitem> 41 <listitem><para>Estimated disk space required: &xinetd-buildsize;</para></listitem> 42 <listitem><para>Estimated build time: &xinetd-time;</para></listitem> 43 </itemizedlist> 44 </sect3> 45 46 <sect3> 47 <title><application>xinetd</application> dependencies</title> 48 49 <sect4> 50 <title>Optional</title> 51 <para><xref linkend="tcpwrappers"/></para> 52 </sect4> 53 </sect3> 54 55 </sect2> 56 57 <sect2> 58 <title>Installation of <application>xinetd</application></title> 59 60 <para>Install <application>xinetd</application> by running the following 61 commands:</para> 62 63 <screen><userinput><command>./configure --prefix=/usr && 64 make</command></userinput></screen> 65 66 <para>Now, as the root user:</para> 67 68 <screen><userinput role='root'><command>make install</command></userinput></screen> 69 70 </sect2> 71 72 <sect2> 73 <title>Configuring <application>xinetd</application></title> 74 75 <sect3 id="xinetd-config"> 76 <title>Config files</title> 77 78 <para><filename>/etc/xinetd.conf</filename></para> 79 80 <indexterm zone="xinetd xinetd-config"> 81 <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary> 82 </indexterm> 83 </sect3> 84 85 <sect3> 86 <title>Configuration Information</title> 87 88 <para>Ensure the path to all daemons is 89 <filename class="directory">/usr/sbin</filename>, rather than the default path 90 of <filename class="directory">/usr/etc</filename>, and install the 91 <application>xinetd</application> configuration files by running the following 92 commands as the root user:</para> 93 94 <screen><userinput role='root'><command>cat > /etc/xinetd.conf << "EOF"</command> 95 # Begin /etc/xinetd 16 <?dbhtml filename="xinetd.html"?> 17 18 <sect1info> 19 <othername>$LastChangedBy$</othername> 20 <date>$Date$</date> 21 </sect1info> 22 23 <title>xinetd-&xinetd-version;</title> 24 25 <indexterm zone="xinetd"> 26 <primary sortas="a-Xinetd">Xinetd</primary> 27 </indexterm> 28 29 <sect2 role="package"> 30 <title>Introduction to xinetd</title> 31 32 <para><application>xinetd</application> is the eXtended InterNET services 33 Daemon, a secure replacement for <command>inetd</command>.</para> 34 35 <bridgehead renderas="sect3">Package Information</bridgehead> 36 <itemizedlist spacing="compact"> 37 <listitem> 38 <para>Download (HTTP): <ulink url="&xinetd-download-http;"/></para> 39 </listitem> 40 <listitem> 41 <para>Download (FTP): <ulink url="&xinetd-download-ftp;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download MD5 sum: &xinetd-md5sum;</para> 45 </listitem> 46 <listitem> 47 <para>Download size: &xinetd-size;</para> 48 </listitem> 49 <listitem> 50 <para>Estimated disk space required: &xinetd-buildsize;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated build time: &xinetd-time;</para> 54 </listitem> 55 </itemizedlist> 56 57 <bridgehead renderas="sect3">xinetd Dependencies</bridgehead> 58 59 <bridgehead renderas="sect4">Optional</bridgehead> 60 <para><xref linkend="tcpwrappers"/></para> 61 62 </sect2> 63 64 <sect2 role="installation"> 65 <title>Installation of xinetd</title> 66 67 <para>Install <application>xinetd</application> by running the following 68 commands:</para> 69 70 <screen><userinput>./configure --prefix=/usr && 71 make</userinput></screen> 72 73 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 74 75 <screen role="root"><userinput>make install</userinput></screen> 76 77 </sect2> 78 79 <sect2 role="configuration"> 80 <title>Configuring xinetd</title> 81 82 <sect3 id="xinetd-config"> 83 <title>Config Files</title> 84 85 <para><filename>/etc/xinetd.conf</filename></para> 86 87 <indexterm zone="xinetd xinetd-config"> 88 <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary> 89 </indexterm> 90 91 </sect3> 92 93 <sect3> 94 <title>Configuration Information</title> 95 96 <para>Ensure the path to all daemons is 97 <filename class="directory">/usr/sbin</filename>, rather than the default 98 path of <filename class="directory">/usr/etc</filename>, and install the 99 <application>xinetd</application> configuration files by running the 100 following commands as the <systemitem class="username">root</systemitem> 101 user:</para> 102 103 <screen role="root"><userinput>cat > /etc/xinetd.conf << "EOF" 104 <literal># Begin /etc/xinetd 96 105 # Configuration file for xinetd 97 106 # … … 109 118 # 110 119 includedir /etc/xinetd.d 111 # End /etc/xinetd 112 <command>EOF</command></userinput></screen> 113 114 <para>All of the following files have the statement, "disable = yes". To activate 115 any of the services, this statement will need to be changed to "disable = no".</para> 116 117 <note><para>The following files are listed to demonstrate classic 118 <application>xinetd</application> applications. In many cases, these 119 applications are not needed. In some cases, the applications are 120 considered security risks. For example, telnet, rlogin, rexec, and rsh 121 transmit unencrypted usernames and passwords over the network and can be easily 122 replaced with a more secure alternative: ssh.</para></note> 123 124 <screen><userinput role='root'><command>install -d -m755 /etc/xinetd.d &&</command> 125 <command>cat > /etc/xinetd.d/login << "EOF" &&</command> 126 # Begin /etc/xinetd.d/login 120 # End /etc/xinetd</literal> 121 EOF</userinput></screen> 122 123 <para>All of the following files have the statement, "disable = yes". 124 To activate any of the services, this statement will need to be changed 125 to "disable = no".</para> 126 127 <note> 128 <para>The following files are listed to demonstrate classic 129 <application>xinetd</application> applications. In many cases, these 130 applications are not needed. In some cases, the applications are 131 considered security risks. For example, <command>telnet</command>, 132 <command>rlogin</command>, <command>rexec</command>, and 133 <command>rsh</command> transmit unencrypted usernames and passwords 134 over the network and can be easily replaced with a more secure 135 alternative: <command>ssh</command>.</para> 136 </note> 137 138 <screen role="root"><userinput>install -v -d -m755 /etc/xinetd.d && 139 cat > /etc/xinetd.d/login << "EOF" && 140 <literal># Begin /etc/xinetd.d/login 127 141 128 142 service login … … 137 151 } 138 152 139 # End /etc/xinetd.d/login 140 <command>EOF141 cat > /etc/xinetd.d/shell << "EOF" && </command>142 # Begin /etc/xinetd.d/shell153 # End /etc/xinetd.d/login</literal> 154 EOF 155 cat > /etc/xinetd.d/shell << "EOF" && 156 <literal># Begin /etc/xinetd.d/shell 143 157 144 158 service shell … … 154 168 } 155 169 156 # End /etc/xinetd.d/shell 157 <command>EOF158 cat > /etc/xinetd.d/exec << "EOF" && </command>159 # Begin /etc/xinetd.d/exec170 # End /etc/xinetd.d/shell</literal> 171 EOF 172 cat > /etc/xinetd.d/exec << "EOF" && 173 <literal># Begin /etc/xinetd.d/exec 160 174 161 175 service exec … … 168 182 } 169 183 170 # End /etc/xinetd.d/exec 171 <command>EOF172 cat > /etc/xinetd.d/comsat << "EOF" && </command>173 # Begin /etc/xinetd.d/comsat184 # End /etc/xinetd.d/exec</literal> 185 EOF 186 cat > /etc/xinetd.d/comsat << "EOF" && 187 <literal># Begin /etc/xinetd.d/comsat 174 188 175 189 service comsat … … 183 197 } 184 198 185 # End /etc/xinetd.d/comsat 186 <command>EOF187 cat > /etc/xinetd.d/talk << "EOF" && </command>188 # Begin /etc/xinetd.d/talk199 # End /etc/xinetd.d/comsat</literal> 200 EOF 201 cat > /etc/xinetd.d/talk << "EOF" && 202 <literal># Begin /etc/xinetd.d/talk 189 203 190 204 service talk … … 197 211 } 198 212 199 # End /etc/xinetd.d/talk 200 <command>EOF201 cat > /etc/xinetd.d/ntalk << "EOF" && </command>202 # Begin /etc/xinetd.d/ntalk213 # End /etc/xinetd.d/talk</literal> 214 EOF 215 cat > /etc/xinetd.d/ntalk << "EOF" && 216 <literal># Begin /etc/xinetd.d/ntalk 203 217 204 218 service ntalk … … 211 225 } 212 226 213 # End /etc/xinetd.d/ntalk 214 <command>EOF215 cat > /etc/xinetd.d/telnet << "EOF" && </command>216 # Begin /etc/xinetd.d/telnet227 # End /etc/xinetd.d/ntalk</literal> 228 EOF 229 cat > /etc/xinetd.d/telnet << "EOF" && 230 <literal># Begin /etc/xinetd.d/telnet 217 231 218 232 service telnet 219 233 { 220 234 disable = yes 221 socket_type = stream 235 socket_type = stream 222 236 wait = no 223 237 user = root … … 230 244 { 231 245 disable = yes 232 socket_type = stream 246 socket_type = stream 233 247 wait = no 234 248 user = root … … 239 253 } 240 254 241 # End /etc/xinetd.d/telnet 242 <command>EOF243 cat > /etc/xinetd.d/ftp << "EOF" && </command>244 # Begin /etc/xinetd.d/ftp255 # End /etc/xinetd.d/telnet</literal> 256 EOF 257 cat > /etc/xinetd.d/ftp << "EOF" && 258 <literal># Begin /etc/xinetd.d/ftp 245 259 246 260 service ftp … … 259 273 } 260 274 261 # End /etc/xinetd.d/ftp 262 <command>EOF263 cat > /etc/xinetd.d/tftp << "EOF" && </command>264 # Begin /etc/xinetd.d/tftp275 # End /etc/xinetd.d/ftp</literal> 276 EOF 277 cat > /etc/xinetd.d/tftp << "EOF" && 278 <literal># Begin /etc/xinetd.d/tftp 265 279 266 280 service tftp … … 274 288 } 275 289 276 # End /etc/xinetd.d/tftp 277 <command>EOF278 cat > /etc/xinetd.d/finger << "EOF" && </command>279 # Begin /etc/xinetd.d/finger290 # End /etc/xinetd.d/tftp</literal> 291 EOF 292 cat > /etc/xinetd.d/finger << "EOF" && 293 <literal># Begin /etc/xinetd.d/finger 280 294 281 295 service finger … … 288 302 } 289 303 290 # End /etc/xinetd.d/finger 291 <command>EOF292 cat > /etc/xinetd.d/systat << "EOF" && </command>293 # Begin /etc/xinetd.d/systat304 # End /etc/xinetd.d/finger</literal> 305 EOF 306 cat > /etc/xinetd.d/systat << "EOF" && 307 <literal># Begin /etc/xinetd.d/systat 294 308 295 309 service systat … … 305 319 } 306 320 307 # End /etc/xinetd.d/systat 308 <command>EOF309 cat > /etc/xinetd.d/netstat << "EOF" && </command>310 # Begin /etc/xinetd.d/netstat321 # End /etc/xinetd.d/systat</literal> 322 EOF 323 cat > /etc/xinetd.d/netstat << "EOF" && 324 <literal># Begin /etc/xinetd.d/netstat 311 325 312 326 service netstat … … 322 336 } 323 337 324 # End /etc/xinetd.d/netstat 325 <command>EOF326 cat > /etc/xinetd.d/echo << "EOF" && </command>327 # Begin /etc/xinetd.d/echo338 # End /etc/xinetd.d/netstat</literal> 339 EOF 340 cat > /etc/xinetd.d/echo << "EOF" && 341 <literal># Begin /etc/xinetd.d/echo 328 342 329 343 service echo … … 349 363 } 350 364 351 # End /etc/xinetd.d/echo 352 <command>EOF353 cat > /etc/xinetd.d/chargen << "EOF" && </command>354 # Begin /etc/xinetd.d/chargen365 # End /etc/xinetd.d/echo</literal> 366 EOF 367 cat > /etc/xinetd.d/chargen << "EOF" && 368 <literal># Begin /etc/xinetd.d/chargen 355 369 356 370 service chargen … … 376 390 } 377 391 378 # End /etc/xinetd.d/chargen 379 <command>EOF380 cat > /etc/xinetd.d/daytime << "EOF" && </command>381 # Begin /etc/xinetd.d/daytime392 # End /etc/xinetd.d/chargen</literal> 393 EOF 394 cat > /etc/xinetd.d/daytime << "EOF" && 395 <literal># Begin /etc/xinetd.d/daytime 382 396 383 397 service daytime … … 403 417 } 404 418 405 # End /etc/xinetd.d/daytime 406 <command>EOF407 cat > /etc/xinetd.d/time << "EOF" && </command>408 # Begin /etc/xinetd.d/time419 # End /etc/xinetd.d/daytime</literal> 420 EOF 421 cat > /etc/xinetd.d/time << "EOF" && 422 <literal># Begin /etc/xinetd.d/time 409 423 410 424 service time … … 431 445 } 432 446 433 # End /etc/xinetd.d/time 434 <command>EOF435 cat > /etc/xinetd.d/rstatd << "EOF" && </command>436 # Begin /etc/xinetd.d/rstatd447 # End /etc/xinetd.d/time</literal> 448 EOF 449 cat > /etc/xinetd.d/rstatd << "EOF" && 450 <literal># Begin /etc/xinetd.d/rstatd 437 451 438 452 ervice rstatd … … 449 463 } 450 464 451 # End /etc/xinetd.d/rstatd 452 <command>EOF453 cat > /etc/xinetd.d/rquotad << "EOF" && </command>454 # Begin /etc/xinetd.d/rquotad465 # End /etc/xinetd.d/rstatd</literal> 466 EOF 467 cat > /etc/xinetd.d/rquotad << "EOF" && 468 <literal># Begin /etc/xinetd.d/rquotad 455 469 456 470 service rquotad … … 466 480 } 467 481 468 # End /etc/xinetd.d/rquotad 469 <command>EOF470 cat > /etc/xinetd.d/rusersd << "EOF" && </command>471 # Begin /etc/xinetd.d/rusersd482 # End /etc/xinetd.d/rquotad</literal> 483 EOF 484 cat > /etc/xinetd.d/rusersd << "EOF" && 485 <literal># Begin /etc/xinetd.d/rusersd 472 486 473 487 service rusersd … … 483 497 } 484 498 485 # End /etc/xinetd.d/rusersd 486 <command>EOF487 cat > /etc/xinetd.d/sprayd << "EOF" && </command>488 # Begin /etc/xinetd.d/sprayd499 # End /etc/xinetd.d/rusersd</literal> 500 EOF 501 cat > /etc/xinetd.d/sprayd << "EOF" && 502 <literal># Begin /etc/xinetd.d/sprayd 489 503 490 504 service sprayd … … 500 514 } 501 515 502 # End /etc/xinetd.d/sprayd 503 <command>EOF504 cat > /etc/xinetd.d/walld << "EOF" && </command>505 # Begin /etc/xinetd.d/walld516 # End /etc/xinetd.d/sprayd</literal> 517 EOF 518 cat > /etc/xinetd.d/walld << "EOF" && 519 <literal># Begin /etc/xinetd.d/walld 506 520 507 521 service walld … … 518 532 } 519 533 520 # End /etc/xinetd.d/walld 521 <command>EOF522 cat > /etc/xinetd.d/irc << "EOF" </command>523 # Begin /etc/xinetd.d/irc534 # End /etc/xinetd.d/walld</literal> 535 EOF 536 cat > /etc/xinetd.d/irc << "EOF" 537 <literal># Begin /etc/xinetd.d/irc 524 538 525 539 service irc … … 535 549 } 536 550 537 # End /etc/xinetd.d/irc 538 <command>EOF</command></userinput></screen> 539 540 <indexterm zone="xinetd xinetd-config"> 541 <primary sortas="e-etc-xinetd.d-login">/etc/xinetd.d/login</primary> 542 </indexterm> 543 544 <indexterm zone="xinetd xinetd-config"> 545 <primary sortas="e-etc-xinetd.d-shell">/etc/xinetd.d/shell</primary> 546 </indexterm> 547 548 <indexterm zone="xinetd xinetd-config"> 549 <primary sortas="e-etc-xinetd.d-exec">/etc/xinetd.d/exec</primary> 550 </indexterm> 551 552 <indexterm zone="xinetd xinetd-config"> 553 <primary sortas="e-etc-xinetd.d-comsat">/etc/xinetd.d/comsat</primary> 554 </indexterm> 555 556 <indexterm zone="xinetd xinetd-config"> 557 <primary sortas="e-etc-xinetd.d-talk">/etc/xinetd.d/talk</primary> 558 </indexterm> 559 560 <indexterm zone="xinetd xinetd-config"> 561 <primary sortas="e-etc-xinetd.d-ntalk">/etc/xinetd.d/ntalk</primary> 562 </indexterm> 563 564 <indexterm zone="xinetd xinetd-config"> 565 <primary sortas="e-etc-xinetd.d-telnet">/etc/xinetd.d/telnet</primary> 566 </indexterm> 567 568 <indexterm zone="xinetd xinetd-config"> 569 <primary sortas="e-etc-xinetd.d-ftp">/etc/xinetd.d/ftp</primary> 570 </indexterm> 571 572 <indexterm zone="xinetd xinetd-config"> 573 <primary sortas="e-etc-xinetd.d-tftp">/etc/xinetd.d/tftp</primary> 574 </indexterm> 575 576 <indexterm zone="xinetd xinetd-config"> 577 <primary sortas="e-etc-xinetd.d-systat">/etc/xinetd.d/systat</primary> 578 </indexterm> 579 580 <indexterm zone="xinetd xinetd-config"> 581 <primary sortas="e-etc-xinetd.d-finger">/etc/xinetd.d/finger</primary> 582 </indexterm> 583 584 <indexterm zone="xinetd xinetd-config"> 585 <primary sortas="e-etc-xinetd.d-netstat">/etc/xinetd.d/netstat</primary> 586 </indexterm> 587 588 <indexterm zone="xinetd xinetd-config"> 589 <primary sortas="e-etc-xinetd.d-echo">/etc/xinetd.d/echo</primary> 590 </indexterm> 591 592 <indexterm zone="xinetd xinetd-config"> 593 <primary sortas="e-etc-xinetd.d-chargen">/etc/xinetd.d/chargen</primary> 594 </indexterm> 595 596 <indexterm zone="xinetd xinetd-config"> 597 <primary sortas="e-etc-xinetd.d-daytime">/etc/xinetd.d/daytime</primary> 598 </indexterm> 599 600 <indexterm zone="xinetd xinetd-config"> 601 <primary sortas="e-etc-xinetd.d-time">/etc/xinetd.d/time</primary> 602 </indexterm> 603 604 <indexterm zone="xinetd xinetd-config"> 605 <primary sortas="e-etc-xinetd.d-rstatd">/etc/xinetd.d/rstatd</primary> 606 </indexterm> 607 608 <indexterm zone="xinetd xinetd-config"> 609 <primary sortas="e-etc-xinetd.d-rquotad">/etc/xinetd.d/rquotad</primary> 610 </indexterm> 611 612 <indexterm zone="xinetd xinetd-config"> 613 <primary sortas="e-etc-xinetd.d-ruserd">/etc/xinetd.d/ruserd</primary> 614 </indexterm> 615 616 <indexterm zone="xinetd xinetd-config"> 617 <primary sortas="e-etc-xinetd.d-sprayd">/etc/xinetd.d/sprayd</primary> 618 </indexterm> 619 620 <indexterm zone="xinetd xinetd-config"> 621 <primary sortas="e-etc-xinetd.d-walld">/etc/xinetd.d/walld</primary> 622 </indexterm> 623 624 <indexterm zone="xinetd xinetd-config"> 625 <primary sortas="e-etc-xinetd.d-irc">/etc/xinetd.d/irc</primary> 626 </indexterm> 627 628 629 630 <para>The format of the <filename>/etc/xinetd.conf</filename> is 631 documented in the <filename>xinetd.conf.5</filename> man page. Further 632 information can be found at <ulink url="http://www.xinetd.org"/>.</para> 633 634 <para id="xinetd-init">As the root user, install the 635 <filename>/etc/rc.d/init.d/xinetd</filename> init script included in the 636 <xref linkend="intro-important-bootscripts"/> package.</para> 637 638 <indexterm zone="xinetd xinetd-init"> 639 <primary sortas="f-xinetd">xinetd</primary> 640 </indexterm> 641 642 <screen><userinput role='root'><command>make install-xinetd</command></userinput></screen> 643 644 <para>As the root user, use the new boot script to start 645 <command>xinetd</command>:</para> 646 647 <screen><userinput role='root'><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen> 648 649 <para>Checking the <filename>/var/log/daemon.log</filename> file 650 should prove quite entertaining. This file may contain entries 651 similar to the following:</para> 652 653 <screen>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not 551 # End /etc/xinetd.d/irc</literal> 552 EOF</userinput></screen> 553 554 <indexterm zone="xinetd xinetd-config"> 555 <primary sortas="e-etc-xinetd.d-login">/etc/xinetd.d/login</primary> 556 </indexterm> 557 558 <indexterm zone="xinetd xinetd-config"> 559 <primary sortas="e-etc-xinetd.d-shell">/etc/xinetd.d/shell</primary> 560 </indexterm> 561 562 <indexterm zone="xinetd xinetd-config"> 563 <primary sortas="e-etc-xinetd.d-exec">/etc/xinetd.d/exec</primary> 564 </indexterm> 565 566 <indexterm zone="xinetd xinetd-config"> 567 <primary sortas="e-etc-xinetd.d-comsat">/etc/xinetd.d/comsat</primary> 568 </indexterm> 569 570 <indexterm zone="xinetd xinetd-config"> 571 <primary sortas="e-etc-xinetd.d-talk">/etc/xinetd.d/talk</primary> 572 </indexterm> 573 574 <indexterm zone="xinetd xinetd-config"> 575 <primary sortas="e-etc-xinetd.d-ntalk">/etc/xinetd.d/ntalk</primary> 576 </indexterm> 577 578 <indexterm zone="xinetd xinetd-config"> 579 <primary sortas="e-etc-xinetd.d-telnet">/etc/xinetd.d/telnet</primary> 580 </indexterm> 581 582 <indexterm zone="xinetd xinetd-config"> 583 <primary sortas="e-etc-xinetd.d-ftp">/etc/xinetd.d/ftp</primary> 584 </indexterm> 585 586 <indexterm zone="xinetd xinetd-config"> 587 <primary sortas="e-etc-xinetd.d-tftp">/etc/xinetd.d/tftp</primary> 588 </indexterm> 589 590 <indexterm zone="xinetd xinetd-config"> 591 <primary sortas="e-etc-xinetd.d-systat">/etc/xinetd.d/systat</primary> 592 </indexterm> 593 594 <indexterm zone="xinetd xinetd-config"> 595 <primary sortas="e-etc-xinetd.d-finger">/etc/xinetd.d/finger</primary> 596 </indexterm> 597 598 <indexterm zone="xinetd xinetd-config"> 599 <primary sortas="e-etc-xinetd.d-netstat">/etc/xinetd.d/netstat</primary> 600 </indexterm> 601 602 <indexterm zone="xinetd xinetd-config"> 603 <primary sortas="e-etc-xinetd.d-echo">/etc/xinetd.d/echo</primary> 604 </indexterm> 605 606 <indexterm zone="xinetd xinetd-config"> 607 <primary sortas="e-etc-xinetd.d-chargen">/etc/xinetd.d/chargen</primary> 608 </indexterm> 609 610 <indexterm zone="xinetd xinetd-config"> 611 <primary sortas="e-etc-xinetd.d-daytime">/etc/xinetd.d/daytime</primary> 612 </indexterm> 613 614 <indexterm zone="xinetd xinetd-config"> 615 <primary sortas="e-etc-xinetd.d-time">/etc/xinetd.d/time</primary> 616 </indexterm> 617 618 <indexterm zone="xinetd xinetd-config"> 619 <primary sortas="e-etc-xinetd.d-rstatd">/etc/xinetd.d/rstatd</primary> 620 </indexterm> 621 622 <indexterm zone="xinetd xinetd-config"> 623 <primary sortas="e-etc-xinetd.d-rquotad">/etc/xinetd.d/rquotad</primary> 624 </indexterm> 625 626 <indexterm zone="xinetd xinetd-config"> 627 <primary sortas="e-etc-xinetd.d-ruserd">/etc/xinetd.d/ruserd</primary> 628 </indexterm> 629 630 <indexterm zone="xinetd xinetd-config"> 631 <primary sortas="e-etc-xinetd.d-sprayd">/etc/xinetd.d/sprayd</primary> 632 </indexterm> 633 634 <indexterm zone="xinetd xinetd-config"> 635 <primary sortas="e-etc-xinetd.d-walld">/etc/xinetd.d/walld</primary> 636 </indexterm> 637 638 <indexterm zone="xinetd xinetd-config"> 639 <primary sortas="e-etc-xinetd.d-irc">/etc/xinetd.d/irc</primary> 640 </indexterm> 641 642 <para>The format of the <filename>/etc/xinetd.conf</filename> is 643 documented in the <filename>xinetd.conf.5</filename> man page. Further 644 information can be found at <ulink url="http://www.xinetd.org"/>.</para> 645 646 </sect3> 647 648 <sect3 id="xinetd-init"> 649 <title>Boot Script</title> 650 651 <para>As the <systemitem class="username">root</systemitem> user, install 652 the <filename>/etc/rc.d/init.d/xinetd</filename> init script included in 653 the <xref linkend="intro-important-bootscripts"/> package.</para> 654 655 <indexterm zone="xinetd xinetd-init"> 656 <primary sortas="f-xinetd">xinetd</primary> 657 </indexterm> 658 659 <screen role="root"><userinput>make install-xinetd</userinput></screen> 660 661 <para>As the <systemitem class="username">root</systemitem> user, 662 use the new boot script to start <command>xinetd</command>:</para> 663 664 <screen role="root"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen> 665 666 <para>Checking the <filename>/var/log/daemon.log</filename> file 667 should prove quite entertaining. This file may contain entries 668 similar to the following:</para> 669 670 <screen><literal>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not 654 671 executable [line=29] 655 672 Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server - 656 673 DISABLING SERVICE [line=29] 657 674 Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not 658 executable [line=42]</screen> 659 660 <para>These errors are because most of the servers <command>xinetd</command> 661 is trying to control are not installed yet.</para> 662 </sect3> 663 664 </sect2> 665 666 <sect2> 667 <title>Contents</title> 668 669 <segmentedlist> 670 <segtitle>Installed Programs</segtitle> 671 <segtitle>Installed Libraries</segtitle> 672 <segtitle>Installed Directories</segtitle> 673 674 <seglistitem> 675 <seg>itox, xconv.pl and xinetd</seg> 676 <seg>None</seg> 677 <seg>/etc/xinetd.d/</seg> 678 </seglistitem> 679 </segmentedlist> 680 681 <variablelist> 682 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 683 <?dbfo list-presentation="list"?> 684 685 <varlistentry id="itox"> 686 <term><command>itox</command></term> 687 <listitem><para>is a utility used for converting 688 <filename>inetd.conf</filename> files to 689 <filename>xinetd.conf</filename> format.</para> 690 <indexterm zone="xinetd itox"> 691 <primary sortas="b-itox">itox</primary> 692 </indexterm></listitem> 693 </varlistentry> 694 695 <varlistentry id="xconv.pl"> 696 <term><command>xconv.pl</command></term> 697 <listitem><para>is a <application>Perl</application> script used for 698 converting <filename>inetd.conf</filename> files to 699 <filename>xinetd.conf</filename> format, similar to 700 <command>itox</command>.</para> 701 <indexterm zone="xinetd xconv.pl"> 702 <primary sortas="b-xconv.pl">xconv.pl</primary> 703 </indexterm></listitem> 704 </varlistentry> 705 706 <varlistentry id="xinetd-prog"> 707 <term><command>xinetd</command></term> 708 <listitem><para>is the Internet services daemon.</para> 709 <indexterm zone="xinetd xinetd-prog"> 710 <primary sortas="b-xinetd">xinetd</primary> 711 </indexterm></listitem> 712 </varlistentry> 713 </variablelist> 714 715 </sect2> 675 executable [line=42]</literal></screen> 676 677 <para>These errors are because most of the servers 678 <command>xinetd</command> is trying to control are not 679 installed yet.</para> 680 681 </sect3> 682 683 </sect2> 684 685 <sect2 role="content"> 686 <title>Contents</title> 687 688 <segmentedlist> 689 <segtitle>Installed Programs</segtitle> 690 <segtitle>Installed Libraries</segtitle> 691 <segtitle>Installed Directories</segtitle> 692 693 <seglistitem> 694 <seg>itox, xconv.pl, and xinetd</seg> 695 <seg>None</seg> 696 <seg>/etc/xinetd.d/</seg> 697 </seglistitem> 698 </segmentedlist> 699 700 <variablelist> 701 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 702 <?dbfo list-presentation="list"?> 703 <?dbhtml list-presentation="table"?> 704 705 <varlistentry id="itox"> 706 <term><command>itox</command></term> 707 <listitem> 708 <para>is a utility used for converting 709 <filename>inetd.conf</filename> files to 710 <filename>xinetd.conf</filename> format.</para> 711 <indexterm zone="xinetd itox"> 712 <primary sortas="b-itox">itox</primary> 713 </indexterm> 714 </listitem> 715 </varlistentry> 716 717 <varlistentry id="xconv.pl"> 718 <term><command>xconv.pl</command></term> 719 <listitem> 720 <para>is a <application>Perl</application> script used for 721 converting <filename>inetd.conf</filename> files to 722 <filename>xinetd.conf</filename> format, similar to 723 <command>itox</command>.</para> 724 <indexterm zone="xinetd xconv.pl"> 725 <primary sortas="b-xconv.pl">xconv.pl</primary> 726 </indexterm> 727 </listitem> 728 </varlistentry> 729 730 <varlistentry id="xinetd-prog"> 731 <term><command>xinetd</command></term> 732 <listitem> 733 <para>is the Internet services daemon.</para> 734 <indexterm zone="xinetd xinetd-prog"> 735 <primary sortas="b-xinetd">xinetd</primary> 736 </indexterm> 737 </listitem> 738 </varlistentry> 739 740 </variablelist> 741 742 </sect2> 716 743 717 744 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.