Initializing an NIS Client
The following steps explain how to initialize an NIS client.
You see messages as the system services stop.
Press <Enter> at the Safe to Power Off
message.
Type <Ctrl>D to proceed with normal startup, (or give root password for system maintenance)
or
/etc/yp/ypinit
The functionality and the options for ypinit and mkdev nis are identical.
You must specify whether this host is to be a master, slave server, copy-only server or NIS client. Please enter the server type:[mscCq]
Enter C to indicate that you are setting up an NIS client.
If you want to stop the initialization, enter q.
NIS has been initialized previously on this machine Please verify that you would like to re-initialize NIS Do you wish to re-initialize NIS? (y/n/q)Enter y to continue.
The local host's domain name hasn't been set. Please set it. Please enter the domain name or q to quit:Enter the NIS domain name; you need an NIS domain name to retrieve data from an NIS database.
You will be asked:
Is "domainname" correct? [y/n/q]Enter y if correct. If you enter n, you will be asked to reenter the domain name. If you enter q, NIS initialization aborts.
You must specify whether ypbind is to be run with the secure option (-s), the ypset option (-ypset), allowing anyone to change your binding, or the ypsetme option (-ypsetme) which only allows requests with host-name's IP address to change host-name's binding, or with no options. Please see ypserv(NADM) for more information 1) ypbind -s 2) ypbind -ypset 3) ypbind -ypsetme 4) ypbind Please enter your choice (1-4,q):Enter the response appropriate to your security concerns.
For further information, consult the
ypserv(NADM)
manual page, which includes information about ypbind.
See also
ypset(NADM).
server_name's NIS data base has been set up without any errors.Your NIS client is now initialized.