HPlogo HP-UX Reference > U

udpublickey(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

udpublickey — update the publickey database file and the NIS map

SYNOPSIS

udpublickey

Remarks

The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same.

DESCRIPTION

udpublickey is executed from the updaters(1M) makefile when either newkey or rpc.ypupdated updates the /etc/publickey database file.

udpublickey receives the following information from newkey or rpc.ypupdated:

  • Requestor's name (a string)

  • Type of update

  • Number of bytes in key

  • Key

  • Number of bytes in data

  • Data

After receiving this information, udpublickey attempts to update the publickey database file, /etc/publickey.

If the update is successful, udpublickey makes the NIS map, publickey.byname.

If the update is completely successful, udpublickey exits with a zero (0) status; otherwise udpublickey exits with a valid NIS error.

This command should not be run interactively.

AUTHOR

udpublickey was developed by Sun Microsystems, Inc.

FILES

/etc/publickey

SEE ALSO

newkey(1M), rpc.ypupdated(1M), updaters(1M), publickey(4).