Configuring NIS
For each NIS domain you want to configure on your network, do the following:
- 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.
- Choose a host that has the characteristics described in Master Servers. Then follow the instructions in Configuring the NIS Master Server.
- Decide which hosts, if any, will act as worker servers. Then, for each worker server, follow the instructions in Configuring an NIS Worker Server.
- Decide which hosts will be clients in this domain. Then, for each client, follow the instructions in Configuring an NIS Client.
Note:
- 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.
- If the file /var/yp/securenets exists, the server only provides NIS services to the hosts within the Internet Protocol (IP) range specified.