Hello All. I have solved the problem with xinetd where killpgrp can't be
run because of group permissions. The key is to use xinetd's "groups" option.
See my xinetd configuration file for amanda below:

service amanda
{
          protocol                = udp
          socket_type             = dgram
          wait                    = yes
          user                    = backup
          group                   = disk # whatever --with-group was 
          groups                  = yes  # THE KEY!!
          server                  = /usr/local/libexec/amandad
          server_args             = amandad
}

-From the xinetd.conf man page:

       groups           Takes either  "yes"  or  "no".   This  is
                        Solar Designer's fix to the supplementary
                        groups problem.  If the groups  attribute
                        is  set to "yes", then the server is exe­
                        cuted with access to the groups that  the
                        server's effective UID has access to.  If
                        the groups attribute is set to "no", then
                        the  server runs with no group privleges.
                        This attribute must be set to  "yes"  for
                        many  BSD systems.  This attribute can be
                        set in the defaults section as well.

It's good to have my workstation backing up again :-)
-- 

Joshua Warchol
UNIX Systems Administrator
DSL.net

Reply via email to