Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
User Commandsdeallocate(1)


NAME

 deallocate - device deallocation

SYNOPSIS

 deallocate [-s] device
 deallocate [-s] [-F] device
 deallocate [-s] -I

DESCRIPTION

 

The deallocate utility 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 an authorized user to remove access to the device by another user. The required authorization is solaris.device.allocate.

When deallocation or forced deallocation is performed, the appropriate device cleaning program is executed, based on the contents of device_allocate(4). These cleaning programs are normally stored in /etc/security/lib.

OPTIONS

 

The following options are supported:

device
Deallocate the device associated with the device special file specified by device.
-s
Silent. Suppresses any diagnostic output.
-F device
Forces deallocation of the device associated with the file specified by device. Only a user with the solaris.devices.revoke authorization is permitted to use this option.
-I
Forces deallocation of all allocatable devices. Only a user with the solaris.devices.revoke authorization is permitted to use this option. This option should only be used at system initialization.

EXIT STATUS

 

The following exit values are returned:

non--zero
An error occurred.

FILES

 

/etc/security/device_allocate

/etc/security/device_maps

/etc/security/dev/*

/etc/security/lib/*

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

allocate(1), list_devices(1), bsmconv(1M), dminfo(1M), device_allocate(4), device_maps(4), attributes(5)

NOTES

 

The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for more information.


SunOS 5.9Go To TopLast Changed 17 Jan 2001

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.