NAME
updaters — configuration file for NIS updating
SYNOPSIS
updaters
Remarks
The Network Information Service (NIS) was formerly known
as Yellow Pages (YP).
The functionality of the two remains the same; only the name has
changed.
DESCRIPTION
updaters
is a makefile used for updating the Network Information Service (NIS)
databases.
Databases can be updated only if the network is secure, that
is, only if there is a NIS
publickey
database (
publickey.byname).
The default
updaters
script will update only the
publickey.byname
map.
An entry in the file is a make target for a particular NIS database.
For example, if you wanted to add
passwd.byname
to this script, you would create a make target named passwd.byname with
the command to update that database.
See
udpublickey(1M).
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 Actual
bytes of key and Actual bytes of data.
Network name of client wishing to make the update (a string)
Kind of update (an integer)
Number of bytes in key (an integer)
Number of bytes in data (an integer)
After receiving this information through standard input, the command to
update the particular database should decide whether the user is allowed to
make the requested change.
If not, the command 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>.
AUTHOR
updaters
was developed by Sun Microsystems, Inc.