2004-06-13 13:38:30 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz">
|
|
|
|
<!ENTITY xinetd-download-ftp " ">
|
2005-02-12 15:50:52 +08:00
|
|
|
<!ENTITY xinetd-md5sum "4295b5fe12350f09b5892b363348ac8b">
|
2004-06-13 13:38:30 +08:00
|
|
|
<!ENTITY xinetd-size "291 KB">
|
2005-03-24 03:19:56 +08:00
|
|
|
<!ENTITY xinetd-buildsize "4.12 MB">
|
|
|
|
<!ENTITY xinetd-time "0.11 SBU">
|
2004-06-13 13:38:30 +08:00
|
|
|
]>
|
|
|
|
|
2002-08-24 09:47:45 +08:00
|
|
|
<sect1 id="xinetd" xreflabel="xinetd-&xinetd-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 10:32:10 +08:00
|
|
|
<?dbhtml filename="xinetd.html"?>
|
2002-08-24 09:47:45 +08:00
|
|
|
<title>xinetd-&xinetd-version;</title>
|
2005-03-24 03:19:56 +08:00
|
|
|
<indexterm zone="xinetd">
|
|
|
|
<primary sortas="a-Xinetd">Xinetd</primary></indexterm>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2004-06-13 13:38:30 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>xinetd</application></title>
|
|
|
|
|
|
|
|
<para><application>xinetd</application> is the eXtended InterNET services
|
|
|
|
Daemon, a secure replacement for <command>inetd</command>.</para>
|
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2005-02-12 15:50:52 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&xinetd-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&xinetd-download-ftp;"/></para></listitem>
|
|
|
|
<listitem><para>Download MD5 sum: &xinetd-md5sum;</para></listitem>
|
2004-06-13 13:38:30 +08:00
|
|
|
<listitem><para>Download size: &xinetd-size;</para></listitem>
|
2005-02-12 15:50:52 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
|
|
|
&xinetd-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&xinetd-time;</para></listitem></itemizedlist>
|
2004-06-13 13:38:30 +08:00
|
|
|
</sect3>
|
|
|
|
|
2004-07-21 15:36:20 +08:00
|
|
|
<sect3><title><application>xinetd</application> dependencies</title>
|
|
|
|
<sect4><title>Optional</title>
|
2005-02-12 15:50:52 +08:00
|
|
|
<para><xref linkend="tcpwrappers"/></para>
|
|
|
|
</sect4>
|
2004-07-21 15:36:20 +08:00
|
|
|
</sect3>
|
|
|
|
|
2004-06-13 13:38:30 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>xinetd</application></title>
|
|
|
|
|
2004-07-21 15:36:20 +08:00
|
|
|
<para>Install <application>xinetd</application> by running the following
|
|
|
|
commands:</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
2005-03-24 03:19:56 +08:00
|
|
|
make</command></userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Configuring <application>xinetd</application></title>
|
|
|
|
|
2005-03-24 03:19:56 +08:00
|
|
|
<sect3 id="xinetd-config"><title>Config files</title>
|
2004-06-13 13:38:30 +08:00
|
|
|
<para><filename>/etc/xinetd.conf</filename></para>
|
2005-03-24 03:19:56 +08:00
|
|
|
<indexterm zone="xinetd xinetd-config">
|
|
|
|
<primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary></indexterm>
|
2004-06-13 13:38:30 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2004-07-21 15:36:20 +08:00
|
|
|
<para>Ensure the path to all daemons is
|
|
|
|
<filename class="directory">/usr/sbin</filename>, rather than the default path
|
|
|
|
of <filename class="directory">/usr/etc</filename>, and install the
|
2005-04-01 13:31:37 +08:00
|
|
|
<application>xinetd</application> configuration files by running the following
|
|
|
|
commands as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>cat > /etc/xinetd.conf << "EOF"</command>
|
|
|
|
# Begin /etc/xinetd
|
|
|
|
# Configuration file for xinetd
|
|
|
|
#
|
|
|
|
|
|
|
|
defaults
|
|
|
|
{
|
|
|
|
instances = 60
|
|
|
|
log_type = SYSLOG daemon
|
|
|
|
log_on_success = HOST PID USERID
|
|
|
|
log_on_failure = HOST USERID
|
|
|
|
cps = 25 30
|
|
|
|
}
|
|
|
|
|
|
|
|
# All service files are stored in the /etc/xinetd.d directory
|
|
|
|
#
|
|
|
|
includedir /etc/xinetd.d
|
|
|
|
# End /etc/xinetd
|
|
|
|
<command>EOF</command></userinput></screen>
|
|
|
|
<para>All of the following files have the statement, "disable = yes". To activate
|
|
|
|
any of the services, this statement will need to be changed to "disable = no".</para>
|
|
|
|
|
|
|
|
<note><para>The following files are listed to demonstrate classic
|
|
|
|
<application>xinetd</application> applications. In many cases, these
|
|
|
|
applications are not needed. In some cases, the applications are
|
|
|
|
considered security risks. For example, telnet, rlogin, rexec, and rsh
|
|
|
|
transmit unencrypted usernames and passwords over the network and can be easily
|
|
|
|
replaced with a more secure alternative: ssh.</para></note>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>install -d -m755 /etc/xinetd.d &&</command>
|
|
|
|
<command>cat > /etc/xinetd.d/login << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/login
|
|
|
|
|
|
|
|
service login
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
wait = no
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/in.rlogind
|
|
|
|
log_type = SYSLOG local4 info
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/login
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/shell << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/shell
|
|
|
|
|
|
|
|
service shell
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = root
|
|
|
|
instances = UNLIMITED
|
|
|
|
flags = IDONLY
|
|
|
|
log_on_success += USERID
|
|
|
|
server = /usr/sbin/in.rshd
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/shell
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/exec << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/exec
|
|
|
|
|
|
|
|
service exec
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/in.rexecd
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/exec
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/comsat << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/comsat
|
|
|
|
|
|
|
|
service comsat
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = dgram
|
|
|
|
wait = yes
|
|
|
|
user = nobody
|
|
|
|
group = tty
|
|
|
|
server = /usr/sbin/in.comsat
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/comsat
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/talk << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/talk
|
|
|
|
|
|
|
|
service talk
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = dgram
|
|
|
|
wait = yes
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/in.talkd
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/talk
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/ntalk << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/ntalk
|
|
|
|
|
|
|
|
service ntalk
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = dgram
|
|
|
|
wait = yes
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/in.ntalkd
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/ntalk
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/telnet << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/telnet
|
|
|
|
|
|
|
|
service telnet
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/in.telnetd
|
|
|
|
bind = 127.0.0.1
|
|
|
|
log_on_failure += USERID
|
|
|
|
}
|
|
|
|
|
|
|
|
service telnet
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = root
|
|
|
|
# server = /usr/sbin/in.telnetd
|
|
|
|
bind = 192.231.139.175
|
|
|
|
redirect = 128.138.202.20 23
|
|
|
|
log_on_failure += USERID
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/telnet
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/ftp << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/ftp
|
|
|
|
|
|
|
|
service ftp
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/in.ftpd
|
|
|
|
server_args = -l
|
|
|
|
instances = 4
|
|
|
|
log_on_success += DURATION USERID
|
|
|
|
log_on_failure += USERID
|
|
|
|
access_times = 2:00-8:59 12:00-23:59
|
|
|
|
nice = 10
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/ftp
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/tftp << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/tftp
|
|
|
|
|
|
|
|
service tftp
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = dgram
|
|
|
|
wait = yes
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/in.tftpd
|
|
|
|
server_args = -s /tftpboot
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/tftp
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/finger << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/finger
|
|
|
|
|
|
|
|
service finger
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = nobody
|
|
|
|
server = /usr/sbin/in.fingerd
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/finger
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/systat << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/systat
|
|
|
|
|
|
|
|
service systat
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = nobody
|
|
|
|
server = /usr/bin/ps
|
|
|
|
server_args = -auwwx
|
|
|
|
only_from = 128.138.209.0
|
|
|
|
log_on_success = HOST
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/systat
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/netstat << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/netstat
|
|
|
|
|
|
|
|
service netstat
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = nobody
|
|
|
|
server = /usr/ucb/netstat
|
|
|
|
server_args = -f inet
|
|
|
|
only_from = 128.138.209.0
|
|
|
|
log_on_success = HOST
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/netstat
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/echo << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/echo
|
|
|
|
|
|
|
|
service echo
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = echo-stream
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
user = root
|
|
|
|
wait = no
|
|
|
|
}
|
|
|
|
|
|
|
|
service echo
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = echo-dgram
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
user = root
|
|
|
|
wait = yes
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/echo
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/chargen << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/chargen
|
|
|
|
|
|
|
|
service chargen
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = chargen-stream
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
user = root
|
|
|
|
wait = no
|
|
|
|
}
|
|
|
|
|
|
|
|
service chargen
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = chargen-dgram
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
user = root
|
|
|
|
wait = yes
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/chargen
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/daytime << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/daytime
|
|
|
|
|
|
|
|
service daytime
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = daytime-stream
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
user = root
|
|
|
|
wait = no
|
|
|
|
}
|
|
|
|
|
|
|
|
service daytime
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = daytime-dgram
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
user = root
|
|
|
|
wait = yes
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/daytime
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/time << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/time
|
|
|
|
|
|
|
|
service time
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = time-stream
|
|
|
|
socket_type = stream
|
|
|
|
protocol = tcp
|
|
|
|
user = root
|
|
|
|
wait = no
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
service time
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = INTERNAL
|
|
|
|
id = time-dgram
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
user = root
|
|
|
|
wait = yes
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/time
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/rstatd << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/rstatd
|
|
|
|
|
|
|
|
ervice rstatd
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = RPC
|
|
|
|
flags = INTERCEPT
|
|
|
|
rpc_version = 2-4
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
server = /usr/sbin/rpc.rstatd
|
|
|
|
wait = yes
|
|
|
|
user = root
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/rstatd
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/rquotad << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/rquotad
|
|
|
|
|
|
|
|
service rquotad
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = RPC
|
|
|
|
rpc_version = 1
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
wait = yes
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/rpc.rstatd
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/rquotad
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/rusersd << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/rusersd
|
|
|
|
|
|
|
|
service rusersd
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = RPC
|
|
|
|
rpc_version = 1-2
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
wait = yes
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/rpc.rusersd
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/rusersd
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/sprayd << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/sprayd
|
|
|
|
|
|
|
|
service sprayd
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = RPC
|
|
|
|
rpc_version = 1
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
wait = yes
|
|
|
|
user = root
|
|
|
|
server = /usr/sbin/rpc.sprayd
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/sprayd
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/walld << "EOF" &&</command>
|
|
|
|
# Begin /etc/xinetd.d/walld
|
|
|
|
|
|
|
|
service walld
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
type = RPC
|
|
|
|
rpc_version = 1
|
|
|
|
socket_type = dgram
|
|
|
|
protocol = udp
|
|
|
|
wait = yes
|
|
|
|
user = nobody
|
|
|
|
group = tty
|
|
|
|
server = /usr/sbin/rpc.rwalld
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/walld
|
|
|
|
<command>EOF
|
|
|
|
cat > /etc/xinetd.d/irc << "EOF"</command>
|
|
|
|
# Begin /etc/xinetd.d/irc
|
|
|
|
|
|
|
|
service irc
|
|
|
|
{
|
|
|
|
disable = yes
|
|
|
|
socket_type = stream
|
|
|
|
wait = no
|
|
|
|
user = root
|
|
|
|
flags = SENSOR
|
|
|
|
type = INTERNAL
|
|
|
|
bind = 192.168.1.30
|
|
|
|
deny_time = 60
|
|
|
|
}
|
|
|
|
|
|
|
|
# End /etc/xinetd.d/irc
|
|
|
|
<command>EOF</command>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
</userinput></screen>
|
|
|
|
|
|
|
|
<para>The format of the <filename>/etc/xinetd.conf</filename> is
|
2005-03-24 03:19:56 +08:00
|
|
|
documented in the <filename>xinetd.conf.5</filename> man page. Further
|
|
|
|
information can be found at <ulink url="http://www.xinetd.org"/>.</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-03-24 03:19:56 +08:00
|
|
|
<para id="xinetd-init">As the root user, install the
|
|
|
|
<filename>/etc/rc.d/init.d/xinetd</filename> init script included in the
|
|
|
|
<xref linkend="intro-important-bootscripts"/> package.</para>
|
|
|
|
<indexterm zone="xinetd xinetd-init">
|
|
|
|
<primary sortas="f-xinetd">xinetd</primary></indexterm>
|
2004-07-21 15:36:20 +08:00
|
|
|
|
2005-03-24 03:19:56 +08:00
|
|
|
<screen><userinput role='root'><command>make install-xinetd</command></userinput></screen>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-03-24 03:19:56 +08:00
|
|
|
<para>As the root user, use the new boot script to start
|
|
|
|
<command>xinetd</command>:</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2005-03-24 03:19:56 +08:00
|
|
|
<screen><userinput role='root'><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<para>Checking the <filename>/var/log/daemon.log</filename> file
|
|
|
|
should prove quite entertaining. This file may contain entries
|
|
|
|
similar to the following:</para>
|
|
|
|
|
2005-03-24 03:19:56 +08:00
|
|
|
<screen>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
|
2004-06-13 13:38:30 +08:00
|
|
|
executable [line=29]
|
|
|
|
Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
|
|
|
|
DISABLING SERVICE [line=29]
|
|
|
|
Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
|
2005-03-24 03:19:56 +08:00
|
|
|
executable [line=42]</screen>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2004-07-21 15:36:20 +08:00
|
|
|
<para>These errors are because most of the servers <command>xinetd</command>
|
|
|
|
is trying to control are not installed yet.</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2005-03-24 03:19:56 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>itox, xconv.pl and xinetd</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
|
|
|
<varlistentry id="itox">
|
|
|
|
<term><command>itox</command></term>
|
|
|
|
<listitem><para>is a utility used for converting
|
|
|
|
<filename>inetd.conf</filename> files to
|
|
|
|
<filename>xinetd.conf</filename> format.</para>
|
|
|
|
<indexterm zone="xinetd itox">
|
|
|
|
<primary sortas="b-itox">itox</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xconv.pl">
|
|
|
|
<term><command>xconv.pl</command></term>
|
|
|
|
<listitem><para>is a <application>Perl</application> script used for
|
|
|
|
converting <filename>inetd.conf</filename> files to
|
|
|
|
<filename>xinetd.conf</filename> format, similar to
|
|
|
|
<command>itox</command>.</para>
|
|
|
|
<indexterm zone="xinetd xconv.pl">
|
|
|
|
<primary sortas="b-xconv.pl">xconv.pl</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xinetd-prog">
|
|
|
|
<term><command>xinetd</command></term>
|
|
|
|
<listitem><para>is the Internet services daemon.</para>
|
|
|
|
<indexterm zone="xinetd xinetd-prog">
|
|
|
|
<primary sortas="b-xinetd">xinetd</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|