Organizations want their networks to be powerful communication systems that are easy to use.
A large network is not just a simple collection of computers that communicate with each other, it is a complex system that requires a well-thought out plan in order for it to function smoothly.
You can facilitate the use of a network by presenting users with consistent configuration and interfaces on all computers.
For example, you could use the same username and password on all computers on your network.
But, keeping consistent information on all hosts can be a daunting task if you edit each and every computer's configuration files.
It is more efficient to have a central location for the information on a network.
The Network Information Service (NIS) allows you to do just this. You can provide authentication (usernames and passwords),
hostnames, protocols, and many other types of information to computers from one or more servers. In this module, you will learn about the tools and files involved in configuring the client's use of NIS.
If your network uses NIS centrally to administer users, groups, network addresses, and other information, you can set up your Red Hat Linux system to use that information as an NIS client.
To configure Red Hat Linux as
an NIS client, you need to get the following information from your NIS administrator:
- NIS Domain Name: This is a keyword used to describe the group of hosts that use the common set of NIS files. Domain name is an unfortunate way of referring to this keyword, because it does not have
anything to do with the TCP/IP domain name. Its only similarity is that it refers to a group of computers.
- NIS Master Server Name: This is the name of the computer on your network that maintains the NIS databases and responds to requests from the network for that information.
- NIS Slave Server Names: An NIS domain may have more than one NIS server that can handle requests for information from the domain's NIS database. An NIS slave server keeps copies of the
NIS maps so that it can respond to requests if the master NIS server goes down.
(NIS slave servers are optional.)
When you installed Red Hat Linux, if you knew that your network used NIS, you could have selected NIS as the way to handle user names and passwords on your computer. If you have not already configured NIS for
your computer, the procedures that follow will describe how to do that. The procedures consist of defining your NIS domain name,
setting up the /etc/yp.conf file, and configuring NIS client daemons (ypbind and ypwhich) to start when you boot your system.