Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ updaters(4) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

make(1)

ypupdated(1M)

ypupdate(3)

publickey(4)



updaters(4)                      UNIX System V                      updaters(4)


NAME
      updaters - configuration file for Network Information Service (NIS)
      updating

SYNOPSIS
      /var/yp/updaters

DESCRIPTION
      The file /var/yp/updaters is a makefile (see make(1)) which is used for
      updating NIS databases.  Databases can only be updated in a secure
      network, that is, one that has a publickey(4) database.  Each entry in
      the file is a make target for a particular NIS database.  For example, if
      there is a NIS database named publickey.byname that can be updated, there
      should be a make target named publickey.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 NEWLINE, except for the actual bytes
      of key and actual bytes of date).

            ⊕  network name of client wishing to make the update (a string)

            ⊕  kind of update (an integer)

            ⊕  number of bytes in key (an integer)

            ⊕  actual bytes of key

            ⊕  number of bytes in data (an integer)

            ⊕  nctual 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 YPERRACCESS.
      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), ypupdated(1M), ypupdate(3), publickey(4)







10/89                                                                    Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026