Go to main content

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

Exit Print View

Updated: October 2017

How to Update Maps Supplied With the Default Set

Use the following procedure to update maps that are supplied with the default set.

  1. Become an administrator on the NIS master server.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Edit the source file for the map that you want to change.

    The file could reside in /etc or in some other directory of your choice.

  3. Run the make command.
    # cd /var/yp
    # make mapname

    The make command then updates your map according to the changes you made in its corresponding file. It also propagates the changes among the other servers.