Configuring NIS

For each NIS domain you want to configure on your network, do the following:

  1. Decide which hosts on your network you want to include in this domain. Choose a domain name for the domain and make a note of it for use later in the configuration process.
  2. Choose a host that has the characteristics described in Master Servers. Then follow the instructions in Configuring the NIS Master Server.
  3. Decide which hosts, if any, will act as worker servers. Then, for each worker server, follow the instructions in Configuring an NIS Worker Server.
  4. Decide which hosts will be clients in this domain. Then, for each client, follow the instructions in Configuring an NIS Client.
Note:
  1. If you want non-root users to be able to log into a server, you must configure the server as a NIS client as well.
  2. If the file /var/yp/securenets exists, the server only provides NIS services to the hosts within the Internet Protocol (IP) range specified.