Go to main content

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

Exit Print View

Updated: October 2017

How to Disable the NIS Server Services

When you use the svcadm command, a specific instance name is required only if you are running more than one service instance. 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.3.

  2. Disable the required NIS server services.
    # svcadm disable network/nis/domain:default
    # svcadm disable network/nis/server:default

    Note -  The NIS service can also be disabled using the ypstop command.