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

Modifying Configuration Files

NIS intelligently parses the setup files. Although this makes NIS administration easier, it does make the behavior of NIS more sensitive to changes in the setup and configuration files.

Use the procedures in this section when modifying any of the following.

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