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.

How to Modify Configuration Files.
  1. Become superuser.

  2. Stop the NIS server.


    # /etc/init.d/ypstop
    
  3. Make the necessary changes to your files.

  4. Restart the NIS server.


    # /etc/init.d/yp start
    

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

Keep in mind the following.