Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypupdate(3c) [hpux man page]

ypupdate(3C)															      ypupdate(3C)

NAME
ypupdate: yp_update() - changes NIS information SYNOPSIS
[flag]... file... [library]... 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
The routine is used to make changes to the Network Information Service (NIS) database. The syntax is the same as that of (see ypclnt(3C)) except for the extra parameter which can be one of these four values: The data associated with the key will be changed to the new value. If the key is not found in the database, then returns The key-value pair will be inserted into the database. The error is returned if the key already exists in the database. The key-value pair will be stored into the database without concern for whether it already exists or not. The key-value pair will be deleted from the database. This routine depends upon secure RPC and will not work unless the network is running secure RPC. MULTITHREAD USAGE
Thread Safe: No Cancel Safe: No Fork Safe: No Async-cancel Safe: No Async-signal Safe: No These functions cannot be called safely in a multithreaded environment. They may be cancellation points in that they call functions that are cancel points. In a multithreaded environment, these functions are not safe to be called by a child process after and before These functions should not be called by a multithreaded application that support asynchronous cancellation or asynchronous signals. AUTHOR
The routine was developed by Sun Microsystems, Inc. SEE ALSO
ypclnt(3C). ypupdate(3C)

Check Out this Related Man Page

getpublickey(3N)														  getpublickey(3N)

NAME
getpublickey(), getsecretkey(), publickey - retrieve public or secret key SYNOPSIS
DESCRIPTION
and get public and secret keys for netname. The key may come from one of the following sources: the file (see publickey(4)), the NIS map or entries in the LDAP directory. The sources and their lookup order are specified in the file (see nsswitch.conf(4)). has an extra argument, passwd, which is used to decrypt the encrypted secret key stored in the database. MULTITHREAD USAGE
Thread Safe: Yes Cancel Safe: Yes Fork Safe: No Async-cancel Safe: No Async-signal Safe: No These functions can be called safely in a multithreaded environment. They may be cancellation points in that they call functions that are cancel points. In a multithreaded environment, these functions are not safe to be called by a child process after and before These functions should not be called by a multithreaded application that supports asynchronous cancellation or asynchronous signals. RETURN VALUE
Both routines return if they are successful in finding the key, (zero) otherwise. The keys are returned as NULL-terminated, hexadecimal strings. If the password supplied to fails to decrypt the secret key, the routine will return but the secretkey[0] will be set to NULL. WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported. LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming services based on LDAP. SEE ALSO
secure_rpc(3N), nsswitch.conf(4), publickey(4). getpublickey(3N)
Man Page