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

Exit Print View

Updated: July 2014
 
 

How to Enable the NIS Server Services Manually

When you use the svcadm command, the instance name is required only if you are running more than one instance of the service. For more information, see NIS and the Service Management Facility, or the svcadm (1M) man page.

  1. Become an administrator.

    For more information about obtaining the appropriate rights to perform specific tasks, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Start the required NIS server services.
    # svcadm enable network/nis/domain
    # svcadm enable network/nis/server

    Note -  The NIS service can also be enabled by using the ypstart command although the svcadm command is preferred.