Trusted Solaris Installation and Configuration

Modify the /yp/Makefile

The /var/yp/Makefile file must be modified to point to the staging area and its subdirectories.

  1. Edit the /var/yp/Makefile in the Admin Editor.

  2. Change three variables: PWDIR, DIR, and INETDIR to point to /setup/files.

  3. Change the RBACDIR variable to point to the $(DIR)/security directory.

  4. Change all four instances of $(DIR)/tnrhtp in the tnrhtp.time: target to $(DIR)/security/tsol/tnrhtp, as shown in the following lines:


       tnrhtp.time:  $(DIR)/security/tsol/tnrhtp
          -@if [ -f $(DIR)/security/tsol/tnrhtp ]; then \
                  sed -e "/^#/d" -e s/#.*$$// $(DIR)/security/tsol/tnrhtp \
                  ...
                  echo "couldn't find $(DIR)/security/tsol/tnrhtp"; \


    Note -

    Do not do a global replace. There are lines at the end of the Makefile that should not be changed.


  5. Change all four instances of $(DIR)/tnrhdb in the tnrhdb.time: target to $(DIR)/security/tsol/tnrhdb, as shown in the following lines:


       tnrhdb.time:  $(DIR)/security/tsol/tnrhdb
         -@if [ -f $(DIR)/security/tsol/tnrhdb ]; then \
                 sed -e "/^#/d" -e s/#.*$$// $(DIR)/security/tsol/tnrhdb \
                 ...
                 echo "couldn't find $(DIR)/security/tsol/tnrhdb"; \


    Note -

    Do not do a global replace. There are lines at the end of the Makefile that should not be changed.