NAME | SYNOPSIS | DESCRIPTION | OPTIONS | FILES | ATTRIBUTES | SUMMARY OF TRUSTED SOLARIS CHANGES | DIAGNOSTICS | SEE ALSO
deallocate deallocates a device allocated to the evoking user. device can be a device defined in device_allocate(4) or one of the device special files associated with the device. It resets the ownership and the permission on all device special files associated with device, disabling the user's access to that device. This option can be used by a privileged user to remove access to the device by another user.
When deallocation or forced deallocation is performed, the appropiate device cleaning program is executed, based on the contents of device_allocate(4). These cleaning programs are normally stored in /etc/security/lib. deallocate requires the file_chown
, file_dac_read
, file_mac_read
, file_setdac
, and sys_audit
privileges to be successful. In addition, certain options require the trusted path attribute to be successful.
Deallocate the device associated with the device special file specified by device.
Silent. Suppress any diagnostic output.
Force deallocation of the device associated with the file specified by device. Only the super user is permitted to use this option.
Force deallocation of all allocatable devices. This option requires the trusted path attribute to be successful. This option should only be used at system initialization.
Reset the specified device to be allocatable. All associated physical device nodes listed in the device_maps file for the specified device will be reset to the deallocated mode and label. Intended as a means for reclaiming a device from a state of error, this option requires the trusted path attribute to be successful. If the specified device is allocated or if the device is a nonallocatable device, this option will fail. If no device is specified, the command is applied to all allocatable devices.
Mandatory access control file for devices.
List of physical devices associated with a device name and type.
Device storage area.
Directory of device cleaning scripts.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWcsu |
To run successfully, deallocate requires the file_chown
, file_dac_read
, file_mac_read
, file_setdac
, and sys_audit
privileges. In addition, the -F option and the new -R option require the trusted path attribute.
deallocate returns a non-zero exit status in the event of an error.
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | FILES | ATTRIBUTES | SUMMARY OF TRUSTED SOLARIS CHANGES | DIAGNOSTICS | SEE ALSO