Network Information Service (NIS) B.11.31.02 Administrator's Guide

The current list of yp servers looks like this:
mammoth
ocelot
Is this correct? [y/n: y] y
Type y or n to confirm the output.
NOTE: Ensure that the /etc/hosts file has appropriate entries for the NIS servers added
above.
4. Enter the following command, to start the NIS slave server:
#/sbin/init.d/nis.server start
5. Enter the following command to start the NIS client:
#/sbin/init.d/nis.client start
For more information on how to configure an NIS Slave Server, see “Enabling the NIS Slave
Server Capability” (page 36)
Configure an NIS Client
1. Modify the /etc/rc.config.d/namesvrs file for the fields mentioned below, with the
corresponding values mentioned against the fields
NIS_MASTER_SERVER=1
NIS_SLAVE_SERVER=0
NIS_CLIENT=1
NIS_DOMAIN=marketing
2. Configure an NIS client:
#/usr/sbin/ypinit -c
If you want the NIS client to bind to a particular NIS server, a list of NIS servers must be
constructed. Continue to add the names of NIS servers in the order of preference, one per
line. Press Ctrl+D or the Return key to exit.
next host to add:
The current list of yp servers looks like this:
mammoth
ocelot
Is this correct? [y/n: y] y
Type y or n to confirm the output.
3. Start the NIS client:
# /sbin/init.d/nis.client start
NOTE: Ensure that the file /etc/hosts has appropriate entries for the NIS servers added
above.
For more information about an NIS Client, see “Enabling the NIS Client Capability” (page 40)
Configure an NIS Client 51