Go to main content

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

Exit Print View

Updated: October 2017
 
 

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 doing any of the following:

  • /var/yp/Makefile to add or delete supported maps

  • Adding or deleting $PWDIR/security/passwd.adjunct to allow or deny C2 security ($PWDIR is defined in /var/yp/Makefile)

How to Modify Configuration Files

Keep the following in mind.

  • Deleting a map or source file from an NIS master server does not automatically result in corresponding deletions from slave servers. You must delete maps and source files from slave servers by hand.

  • New maps do not automatically get pushed to existing slave servers. You must run ypxfr from the slaves.

  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. Stop the NIS server.
    # svcadm disable network/nis/server:default
  3. Make the necessary changes to your files.
  4. Start the NIS server.
    # svcadm enable network/nis/server:default