NFS Services Administrator's Guide

Configuring and Administering NIS
Configuring and Administering an NIS Client
Chapter 4 185
/usr/sbin/ypinit -c
The ypinit script will prompt you for the names of the servers the
client can bind to.
8. Copy the /etc/nsswitch.nis file to /etc/nsswitch.conf:
cp /etc/nsswitch.nis /etc/nsswitch.conf
If you have plus and minus signs in your /etc/passwd or
/etc/group files, they will be ignored. If you want your host to use
the plus and minus signs in your files as signals to consult NIS,
modify the passwd and group lines in /etc/nsswitch.conf to
specify compat, as follows:
passwd: compat
group: compat
9. Reboot the client host to ensure that long-running processes read the
new /etc/nsswitch.conf file. Rebooting the client will also cause
the NIS client startup script to execute, because the NIS_CLIENT
variable is set to 1.
To start the NIS client processes without rebooting the host, issue
the following command to run the NIS startup script:
/sbin/init.d/nis.client start
For more information, see the following man pages: domainname(1),
ypbind(1M), and nsswitch.conf(4).