


UPDATERS(5)               FILE FORMATS                UPDATERS(5)



NAME
     updaters - configuration file for NIS updating

SYNOPSIS
     /var/yp/updaters

DESCRIPTION
     The file /var/yp/updaters is a makefile (see make(1))  which
     is  used  for updating the Network Information Service (NIS)
     databases.  Databases can only be updated in a  secure  net-
     work,  that  is, one that has a publickey(5) database.  Each
     entry in the file is a make  target  for  a  particular  NIS
     database.   For  example,  if there is an NIS database named
     passwd.byname that can be updated, there should  be  a  make
     target  named  passwd.byname  in  the updaters file with the
     command to update the file.

     The information necessary to make the update  is  passed  to
     the  update command through standard input.  The information
     passed is described below (all items are followed by a  NEW-
     LINE, except for 4 and 6)

     o+  Network name of client wishing  to  make  the  update  (a
        string)

     o+  Kind of update (an integer)

     o+  Number of bytes in key (an integer)

     o+  Actual bytes of key

     o+  Number of bytes in data (an integer)

     o+  Actual bytes of data

     After getting this information through standard  input,  the
     command  to  update  the  particular  database should decide
     whether the user is allowed to make the change.  If not,  it
     should  exit  with  the status YPERR_ACCESS.  If the user is
     allowed to make the change,  the  command  should  make  the
     change  and  exit  with  a status of zero.  If there are any
     errors that may prevent the updater from making the  change,
     it  should  exit  with  the  status that matches a valid NIS
     error code described in <rpcsvc/ypclnt.h>.

FILES
     /var/yp/updaters

SEE ALSO
     make(1), ypupdate(3N), publickey(5), ypupdated(8C)





Sun Release 4.1   Last change: 14 December 1987                 1






UPDATERS(5)               FILE FORMATS                UPDATERS(5)



NOTES
     The Network Information Service (NIS) was formerly known  as
     Sun  Yellow Pages (YP). The functionality of the two remains
     the same; only the name has changed.  The name Yellow  Pages
     is  a  registered trademark in the United Kingdom of British
     Telecommunications plc, and may not be used without  permis-
     sion.
















































Sun Release 4.1   Last change: 14 December 1987                 2



