|
|
HP-UX Reference > Uupdaters(1M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEupdaters — configuration file for NIS updating DESCRIPTIONupdaters 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.
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>. |
|