Network Information Service (NIS) B.11.31.04 Administrator's Guide

Figure 1-3 Servers Serving Multiple NIS Domains
Startup Scripts in NIS Services
This section discusses the startup sequence for the NIS daemons during a normal system
boot.
Following are the NIS startup scripts:
/sbin/init.d/nis.server
/sbin/init.d/nis.client
These scripts can be used to start and stop NIS on a system. As part of startup, they
read the /etc/rc.config.d/namesvrs file to determine the daemons that must be
started, and detect whether the system is a server or a client.
The nis.server script is executed at system run level 2 on NIS master and slave
servers. This script performs the following tasks for NIS master server:
Starts yppasswdd if it is not already running.
Starts ypupdated if it is not already running.
Starts keyserv if it is not already running.
The nis.server script performs the following tasks for NIS master and slave servers:
Starts rpcbind if it is not already running.
Sets the domainname.
18 Introduction