NFS Services Administrator's Guide
Configuring and Administering NIS
Overview of NIS
Chapter 4150
You can also configure the NIS client using the ypinit -c command.
This command configures the local host as an NIS client to bind the NIS
client to a specific NIS server. When you invoke the ypinit command
with the -c option, the system prompts you to construct a list of NIS
servers in the order of preference to which the client will try to bind. The
list of NIS servers is stored in the
/var/yp/binding/<domain_name>/ypservers file. If this file does not
exist, the ypinit command creates the file. If the file exists, the server
entries are appended to the file.
However, to use the -c option, you must install PHNE_24910 patch or
later.
NOTE If the ypbind command is invoked with the broadcast option, this list of
NIS servers in ypservers file is ignored. The ypbind command
automatically invokes the broadcast option to bind when the list of
servers in the ypservers file is invalid or not reachable or the file is
absent.