Working With Oracle® Solaris 11.2 Directory and Naming Services: DNS and NIS

Exit Print View

Updated: July 2014
 
 

Starting and Stopping NIS Services on an NIS Server

Now that the master maps are created, you can start the NIS daemons on the master server and begin service. When you enable the NIS service, the ypserv and ypbind daemons start on the server. When a client requests information from the server, ypserv is the daemon that responds to information requests from clients after looking them up in the NIS maps. The ypserv and ypbind daemons are administered as a unit.

The following are the three ways that the NIS service can be started or stopped on a server:

  • The SMF service automatically starts the NIS service during the boot process, if the NIS service was enabled previously.

  • Using the svcadm enable fmri and svcadm disable fmri commands is the preferred manual method.

  • The ypstart and ypstop commands, provide another manual method, although the svcadm command is preferred so that you can use SMF to administer the NIS service..