Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > U

updaters(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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)

  • 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 code described in <rpcsvc/ypclnt.h>.

AUTHOR

updaters was developed by Sun Microsystems, Inc.

SEE ALSO

make(1), newkey(1M), rpc.ypupdated(1M), udpublickey(1M), publickey(4).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.