Trusted Solaris Administrator's Procedures

To Save Files With Security Attributes to a Tape

This procedure can be done by any user or role that has the tar command in a profile.

  1. Use the Device Allocation Manager to allocate a tape device.

    The example allocates a device named mag_tape_0. See the Trusted Solaris User's Guide for more about how to allocate devices and specify the label at which the device is allocated.

  2. Make sure the tape is physically labeled with the label of the current process, and insert the tape into the tape device when prompted.

    The window in the example is titled Device Allocation for mag_tape0 window.


    st_clean: Insert tape into mag_tape0
     
    st_clean: Make sure the tape is labeled CONFIDENTIAL
     
    Press RETURN to quit window...
  3. Enter the tar command with the -T security option.


    trusted% tar cvT tartest
    a tartest/(A) 1K
    a tartest/ 0K
    a tartest/file1(A) 1K
    a tartest/file1 0K
    a tartest/mld1/(A) 1K
    a tartest/mld1/ 0K
    a tartest/mld1/(A) 1K
    a tartest/mld1/ 0K
    a tartest/mld1/file50(A) 1K
    a tartest/mld1/file50 1K
    . . . 
  4. Use the Device Allocation Manager to deallocate the device.

    Eject the tape from the device when prompted.



    Please eject the tape in mag_tape_0

  5. Make sure to protect the exported information at the security level on the media's physical label.