I'm not sure how many are using xinetd, the new and improved inetd, that
is the super-server of RedHat 7.0.  The xinetd.conf has entries of the
form

              service <service_name>
              {
                     <attribute> <assign_op> <value> <value> ...
                     ...
              }

RedHat7.0 has an include directory, xinetd.d, with entries of this form.

The inetd.conf translation to xinetd.d files worked for me like this
(Note that amanda is the user of group disk in my setup)

#inetd.conf entry#
amandaidx stream tcp nowait USER AMINDEXD_PATH amindexd

#xinetd.d file = amandaidx#
# default: off
#
# description: Part of the Amanda server package

service amandaidx
{
        socket_type             = stream
        protocol                = tcp
        wait                    = yes
        user                    = amanda
        group                   = disk
        server                  = /usr/lib/amanda/amindexd
        disable                 = no
}

#inetd.conf entry#
amidxtape stream tcp nowait USER AMIDXTAPED_PATH amidxtaped

#xinetd.d file = amidxtape#
# default: off
#
# description: Part of the amanda server package
#

service amidxtape
{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = amanda
        group                   = disk
        server                  = /usr/lib/amanda/amidxtaped
        disable                 = no
}
 
#identd.conf#
amanda dgram udp wait USER AMANDAD_PATH amandad

#xinetd.d file = amandad#
# default: off
#
# description: Part of the Amanda server package

service amanda
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = amanda
        group                   = disk
        server                  = /usr/lib/amanda/amandad
        disable                 = no
}

The permissions of these three files in xinetd.d

-rw-r--r--    1 amanda   disk          224 Nov 26 14:50 amandad
-rw-r--r--    1 amanda   disk          230 Nov 26 14:50 amandaidx
-rw-r--r--    1 amanda   disk          232 Nov 26 14:50 amidxtape

With the user/group as root.root I got the error

/usr/lib/amanda/runtar: Permission denied]
Client check: 1 host checked in 0.089 seconds, 1 problem found


Reply via email to