Starts the NIS+ cache manager daemon.
nis_cachemgr [ -i ] [ -n [ -v ]
The nis_cachemgr daemon maintains a cache of the NIS+ directory objects. The cache contains location information necessary to contact the NIS+ servers that serve the various directories in the name space. This includes transport addresses, information neeeded to authenticate the server, and a time to live field which gives a hint on how long the directory object can be cached. The cache helps to improve the performance of the clients that are traversing the NIS+ name space. The nis_cachemgr daemon should be running on all the machines that are using NIS+. However, it is not required that the nis_cachemgr daemon be running for NIS+ requests to be serviced.
The cache maintained by this daemon is shared by all the processes that access NIS+ on that machine. The cache is maintained in a file that is memory mapped by all the processes. On start up, the nis_cachemgr daemon initializes the cache from the cold start file and preserves unexpired entries that already exist in the cache file. Thus, the cache survives machine reboots.
The nis_cachemgr daemon is normally started from a system startup script. The nis_cachemgr daemon makes NIS+ requests under the NIS+ principal name of the host on which it runs. Before running the nis_cachemgr daemon, security credentials for the host should be added to the cred.org_dir table in the host's domain using the nisaddcred command. Credentials of type DES are needed if the NIS+ service is operating at security level 2 (see the rpc.nisd command). Additionally, keylogin -r needs to be done on the machine.
Attention: If the host principal does not have the proper security credentials in the cred.org_dir table for its domain, then running this daemon without the -n insecure mode flag may significantly degrade the performance of processes issuing NIS+ requests.
The nis_cachemgr daemon logs error messages and warnings using syslog. Error messages are logged to the DAEMON facility with a priority of LOG_ERR and warning messages with a priority of LOG_WARNING. Additional status messages can be obtained using the -v flag.
/var/nis/NIS_SHARED_DIRCACHE | Contains the shared cache file |
/var/nis/NIS_COLD_START | Contains the coldstart file |
/etc/init.d/rpc | Contains initialization scripts for NIS+ |
The keylogin command, nisaddcred command, nisinit command, nisshowcache command.
The rpc.nisd daemon .