updaters(1M) updaters(1M)
NAME [Toc] [Back]
updaters - configuration file for NIS updating
SYNOPSIS [Toc] [Back]
updaters
Remarks [Toc] [Back]
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 [Toc] [Back]
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)
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 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
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
updaters(1M) updaters(1M)
code described in <rpcsvc/ypclnt.h>.
AUTHOR [Toc] [Back]
updaters was developed by Sun Microsystems, Inc.
SEE ALSO [Toc] [Back]
make(1), newkey(1M), rpc.ypupdated(1M), udpublickey(1M), publickey(4).
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ] |