Go to main content

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

Exit Print View

Updated: October 2017

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 NIS server. When a NIS client requests information from the NIS server, ypserv is the daemon that responds to information requests from NIS 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..