Trusted Solaris Administration Overview

Understanding Device Allocation

A device is either a physical peripheral that is connected to a Trusted Solaris system or a software-simulated device called a pseudo-device. Since devices provide a means for the import and export of data to and from a Trusted Solaris system, they must be controlled to properly protect the data. The Trusted Solaris environment enables you to control data flowing through devices through device allocation and device label ranges.

Device Allocation

Device allocation provides a way to control data when it is imported and exported and prevents unauthorized users from access to the information. In a Trusted Solaris system the administrator decides which devices, if any, each user can use to import and export data and sets those devices to be allocatable. The administrator then assigns to selected users the Allocate Device authorization . The Configure Device Attributes, Delegate Device Administration, and Revoke or Claim Device authorizations are used to administer devices. Users authorized to use a device must allocate the device before using it and deallocate the device when finished. Between the allocation and deallocation of a device, the user has exclusive use of it.

The device allocation applications are provided by the Solaris SunSHIELD Basic Security Module (BSM). Refer to Chapter 4, "Device Allocation," in the SunSHIELDTM Basic Security Module Guide. The Trusted Solaris environment provides a graphical user interface on top of these commands called the Device Allocation Manager that enables device label ranges.

Device allocation provides a way to control the import and export of data. In the Trusted Solaris environment, the administrator decides which devices, if any, can be used to import and export data and includes the devices in the device_maps(4) file.

Users allocate devices through the Device Allocation Manager. The Device Allocation Manager mounts the device, runs a clean script to prepare the device and performs the allocation. When finished, the user deallocates the device through the Device Allocation Manager, which runs another clean script and unmounts and deallocates the device.

Device Label Ranges

To prevent users from copying sensitive information, each allocatable device has an associated label range that is assigned by an administrator. To use an allocatable device, the user must be currently operating at a label within the device's label range. If the user is not, allocation is denied. The user's current label is applied to data imported or exported while the device is allocated to the user. The label of exported data is displayed when the device is deallocated so that the user can physically label the medium containing the exported data.

Examples of devices that have label ranges are frame buffers, tape drives, diskette and CD-ROM drives, printers, and network interfaces.

Administering Devices With the Device Allocation Manager

The Device Allocation Manager is accessed from the Tools subpanel on the Front Panel. The Device Allocation Manager is available to users with the Allocate Device authorization for allocation and deallocation only. Normal users cannot see if a device is currently allocated to another user and cannot perform maintenance through the Device Administration button. The Device Allocation Manager is shown in the following figure.

Figure 1-7 Device Allocation Manager

Graphic

Device Administration Dialog Box

You display the Device Administration dialog box by clicking the Device Administration button in the Device Allocation Manager main window.

Figure 1-8 Device Administration Dialog Box

Graphic

Buttons in the dialog box do the following:

You must have the revoke or reclaim device authorization for the above actions.

Device Allocation Configuration Dialog Box

To use the Device Allocation Configuration dialog box requires the Configure Device Attributes authorization. You display the dialog box by clicking the Configuration button in the Device Allocation Maintenance dialog box.

Figure 1-9 Device Allocation Configuration Dialog Box

Graphic

The Device Allocation Configuration dialog box is divided into three parts:

Device Allocation Authorizations Dialog Box

By clicking the Authorizations button in the Device Allocation Configuration dialog box, you display the Device Allocation Authorizations dialog box. It lets you specify the authorizations required for using the device.

Figure 1-10 Device Allocation Authorizations Dialog Box

Graphic

Device Allocation Databases and Commands

If you do not have access to the Device Allocation Manager, you can use the commands below to administer allocatable devices. The commands are effective whenever use of the Device Allocation Manager would be effective. The commands check for authorization. The commands use the device databases device_allocate(4), device_deallocate(4), and device_maps(4). Note that the 1M commands are not intended for non-administrative users.

Device Clean Scripts

Device clean scripts are special scripts that are run when a device is first allocated. Clean scripts address two security concerns:

The name of a device clean script for a specific device is stored with that device's entry in the device_allocate(4) file. The operations of each device clean program are specific to each device. The following is a list of tasks that a device clean program performs:

Not all allocatable devices require a device clean program. Devices that do not keep states and do not use removable media do not need a device clean program.

Device clean programs for tape, floppy disk, CD-ROM, and audio devices are provided by the Trusted Solaris environment. The configurable nature of the user device allocation mechanism enables an administrator to install new devices and configure device clean programs accordingly.

For more information on device allocation, see Chapter 15, "Managing Devices," in Trusted Solaris Administrator's Procedures.