NFS Services Administrator's Guide

Configuring and Administering NIS+
Setting Up the NIS+ Namespace
Chapter 5 221
If the master server’s internet address is not in the client’s
/etc/hosts file, the nisclient script will prompt you for the master
server’s internet address.
The nisclient script will prompt you for the secure RPC password
for root. Type the default NIS+ password, nisplus.
The nisclient script will then prompt you for the root password on
the client host. After you type the password, the nisclient script
will change the client host’s entry in the cred table to use the root
password instead of the default password.
8. Issue the following command on the new NIS+ client host to verify
that the host can receive information from the NIS+ server:
nisls
The nisls command should list the domain name and the org_dir
and groups_dir NIS+ directories.
9. To verify that your client can get information from NIS+ tables, issue
the niscat command for several standard tables. The standard
tables are listed in Table 5-1. The following example lists the
contents of the NIS+ passwd table:
niscat passwd.org_dir
10. Reboot the host to force long-running processes to read the new
/etc/nsswitch.conf file. (The nisclient script copies
/etc/nsswitch.nisplus to /etc/nsswitch.conf.)
For more information, see the following man pages: domainname(1),
nisaddcred(1M), nisclient(1M), nisls(1), and nis(1).