![]() |
![]() |
| |||
|
The terminal ID for port numbers in the Solaris 8 release or the Solaris 9 release is specified as follows:
The subject token is always returned as part of kernel-generated audit records for system calls. The praudit command displays the subject token as follows:
The following figure shows the format of the subject token. Figure 23-26 subject Token Format ![]() text TokenThe text token contains a text string. This token has three fields:
The praudit command displays the text token as follows:
The following figure shows the format of a text token. Figure 23-27 text Token Format ![]() trailer TokenThe two tokens, header and trailer, are special in that they distinguish the end points of an audit record and bracket all the other tokens. A header token begins an audit record. A trailer token ends an audit record. The trailer token is an optional token. The trailer token is added as the last token of each record only when the trail audit policy has been set. If an audit record was generated with trailers turned on, the auditreduce command verifies that the trailer points back to the record header correctly. The trailer token supports backward seeks of the audit trail. The trailer token has three fields:
The praudit command displays the trailer token as follows:
The following figure shows the format of a trailer token. Figure 23-28 trailer Token Format ![]() Device Allocation ReferenceDevice allocation protects removable media from unauthorized use. You can require that a user allocate a device. You can deny a user permission to use a device. Such allocation measures can protect your site from loss of data, computer viruses, and other security breaches. The following section provides information about device allocation. Components of the Device-Allocation MechanismThe components of the device-allocation mechanism are as follows:
The device_allocate file, the device_maps file, and the lock files are local configuration files. These files are not administered as name service databases because tape drives, diskette drives, and printers connect to specific machines. Using the Device Allocation CommandsThis section describes some of the options to the allocate, deallocate, and list_devices commands that are for use by administrators. Only root or a role of equivalent power can access these options. The commands are detailed on their respective man pages. Table 23-8 Administrative Options to the Device Allocation Commands The Allocate Error StateAn allocatable device is in the allocate error state if it is owned by user bin and group bin with a device-special file mode of 0100. If a user wants to allocate a device that is in the allocate error state, you can try to force the deallocation of the device. The deallocate command with the -F option forces deallocation. Or, you can use allocate -U to assign the device to the user. Once the device is allocated, you can investigate any error messages that appear. After any problems with the device are corrected, you must use the force option, -F to clear the allocate error state from the device. | |||
| |||