ypinit can be used to set up an NIS client system. You must be the superuser to run this command.
This script need not be used at all if ypbind(1M)
is started with the -broadcast option (it is invoked with
this option from the start up script /etc/init.d/rpc).
Normally, ypinit is run only once after installing
the system. It may be run whenever a new NIS server is
added to the network or an existing one is decommissioned.
ypinit prompts for a list of NIS
servers to bind the client to; this list should be ordered from the closest
to the furthest server. Each of these NIS servers must
be listed in either the /etc/hosts or the /etc/inet/ipnodes file along with its IP address. ypinit stores the list in file /var/yp/binding/domain/ypservers. This file is used by ypbind when run without the -broadcast option.