Trusted Solaris Installation and Configuration

Copy Configuration Files for Distribution to Clients

  1. Create a directory that cannot be deleted between reboots.

    Create it in an /export subdirectory, such as /export/clientfiles.


    # mkdir /export/clientfiles
    
  2. Copy your modified label_encodings file to the /export... directory.


    # cd /etc/security/tsol 
    
    # cp -p label_encodings /export/clientfiles
    

    Note -

    The -p option to the cp(1) command preserves the correct file permissions.


  3. If you modified other files, copy them to the /export... directory.

    For example, a site that is using a modified tnrhtp file, DNS, and auditing might copy the following files:


    # cd /etc/security
    # cp -p audit_control audit_user audit_startup \
    /export/clientfiles
    #
    # cd /etc/security/tsol
    # cp -p tnrhtp /export/clientfiles
    #
    # cd /etc
    # cp -p resolv.conf nsswitch.conf /export/clientfiles
    # ls /export/clientfiles
    audit_control 	audit_user	nsswitch.conf
    audit_startup 	label_encodings	resolv.conf      tnrhtp
    

To Transfer Files for NIS+ Clients to Diskette

  1. Allocate the diskette device.

    See "How to Allocate and Deallocate a Device" if you are unfamiliar with the steps. Do not mount the device.


     
    Do you want floppy_n mounted: (y,n)? n
    
  2. Copy the files to the allocated medium.

    For examples of copying files to a portable medium, see "How to Copy Files To and From a Portable Medium".

  3. Deallocate the device and follow the directions in the window.