Chapter 6. Setup xinetd

Table of Contents

6.1. /etc/xinetd.d/ files
6.1.1. tftp config
6.1.2. rsh config
6.1.3. distcc config

Xinetd is used to launch network services such as gexecd, pcpd, tftp and rsh. So, you have to check if your settings match these sample config files.

6.1. /etc/xinetd.d/ files

6.1.1. tftp config

tftp file

service tftp
{
    disable      = no
    socket_type = dgram
    protocol     = udp
    wait         = yes
    user         = root
    server       = /usr/sbin/in.tftpd
    server_args = -s /tftpboot
}

6.1.2. rsh config

rsh file

service shell
{
    disable         = no
    socket_type     = stream
    wait            = no
    user            = root
    log_on_success += USERID
    log_on_failure += USERID
    server          = /usr/sbin/in.rshd
}

6.1.3. distcc config

distcc file

service distcc
{
    socket_type = stream
    protocol     = tcp
    wait         = no
    user         = nobody
    server       = /usr/bin/distccd
    server_args = --verbose --inetd
    disable      = no
}