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