The device_allocate file contains mandatory access control information about each physical device. Each device is represented by a one line entry of the form:
device-name;device-type;reserved;reserved;auths;device-exec
where
-
device-name
- This is an arbitrary ASCII string naming the physical device. This field contains no embedded white space or non-printable characters.
-
device-type
- This is an arbitrary ASCII string naming the generic device type. This field identifies and groups together devices of like type. This field contains no embedded white space or non-printable
characters.
- reserved
- This field is reserved for future use.
- reserved
- This field is reserved for future use.
-
auths
- This field contains a comma-separated list of authorizations required to allocate the device, or asterisk (*) to indicate that the device is not allocatable, or an '@'
symbol to indicate that no explicit authorization is needed to allocate the device.
The default authorization is solaris.device.allocate. See auths(1)
-
device-exec
- This is the physical device's data purge program to be run any time the device is acted on by allocate(1). This is to ensure that all usable data is purged from the physical device before it is reused. This field contains the filename of a program in /etc/security/lib or the full pathname of a cleanup script provided by the system administrator.
The device_allocate file is an ASCII file that resides in the /etc/security directory.
Lines in device_allocate can end with a `\' to continue an entry on the next line.
Comments may also be included. A `#' makes a comment of all further text until the next NEWLINE not immediately preceded by a `\'.
White space is allowed in any field.
The device_allocate file must be created by the system administrator before device allocation is enabled.
The device_allocate file is owned by root, with a group of sys, and a mode of 0644.
|