updaters(1M)updaters(1M)NAMEupdaters - configuration file for NIS updating
SYNOPSIS
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
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 database ( The default script will
update only the map.
An entry in the file is a make target for a particular NIS database.
For example, if you wanted to add to this script, you would create a
make target named passwd.byname with the command to update that data‐
base. 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)
Actual bytes of key
Number of bytes in data (an integer)
Actual bytes of data
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
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
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSOmake(1), newkey(1M), rpc.ypupdated(1M), udpublickey(1M), publickey(4).
updaters(1M)