This procedure explains how to prepare the source files for conversion to NIS maps.
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.
Check the following files:
auto.home or auto_home
auto.master or auto_master
The source directory is defined in /var/yp/Makefile by the DIR macro.
The password source directory is defined in the Makefile by the PWDIR macro.
The rights source directory is defined in /var/yp/Makefile by the RBACDIR macro. If desired, merge the contents of the files in the /etc/security/auth_attr.d directory into a copy of the auth_attr file before copying it. Similarly, combine the files in the exec_attr.d and prof_attr.d directories with exec_attr and prof_attr, if desired.
Caution - Because these files will need to be remerged any time the system is upgraded, keep the local files separate from the release files in the/etc/security/*.d directories.
Unlike other source files, the /etc/mail/aliases file cannot be moved to another directory. This file must reside in the /etc/mail directory. Refer to the aliases(4) man page for more information.
These operations can be done through a sed or awk script or with a text editor. /var/yp/Makefile performs some file cleaning automatically for you, but it is good practice to manually examine and clean these files before running the make command.
Source file data must be in the correct format for that particular file. Check the man pages for the different files to make sure that each file is in the correct format.