Go to main content

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

Exit Print View

Updated: November 2020
 
 

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 instance of the service. For more information, see NIS and the Service Management Facility, or the svcadm(8) 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.4.

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

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