To grant access to a specific device, use the SET SECURITY
command as shown in either of the following examples:
$ SET SECURITY/CLASS=DEVICE DKA300/PROT=W:RWC
This example grants world read, write, and control access
for the device DKA300.
$ SET SECURITY/CLASS=DEVICE DKA300/ACL=(IDENTIFIER=CHEKOV, ACCESS=CONTROL)
This example grants control access for the device DKA300 to
users with the CHEKOV identifier.
Granting Access to All Devices
Use the following method to grant a specified class of users
access to all devices:
Set the security
template for a particular device type to allow access to a desired
class of users. Use a command such as the following one, which sets
the template for disk devices:
$ SET SECURITY/CLASS=SECURITY_CLASS/PROFILE=TEMPLATE=DISK -
_$ DEVICE/ACL=(ID=CHEKOV, ACCESS=R+W+D+C)
This access will apply to all specified devices initialized
in the future.
Run the following command procedure:
$ @SYS$EXAMPLES:RESET_DEVICE_PROTECTION.COM
This command procedure applies the protection specified in
the security template to all current devices.