System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

ProcedureHow to Modify Configuration Files

You do not have to stop and start NIS when changing NIS maps or the map source files.

Keep the following in mind.

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Chapter 9, Using Role-Based Access Control (Tasks), in System Administration Guide: Security Services.

  2. Stop the NIS server.


    # svcadm disable network/nis/server
    
  3. Make the necessary changes to your files.

  4. Start the NIS server.


    # svcadm enable network/nis/server