Technical data
Managing Peripheral Devices
8.2 Getting Information About Devices on the System
Volume label "VOLUME_1" Relative volume number 1
Cluster size 0 Transaction count 1
Free blocks 0 Maximum files allowed 0
Extend quantity 0 Mount count 1
Mount status Process ACP process name "DKA1CACP"
Volume status: ISO 9660.
Members of this volume set are $1$DKA1: (rvn 1), $1$DKA7: (rvn 64), $1$DKA16:
(rvn 65535).
8.3 Setting Security Protection Characteristics on Devices
You can set security protection characteristics on devices using the following DCL
commands:
• INITIALIZE
• MOUNT
• SET SECURITY/PROTECTION
• SET VOLUME
For more information about these commands, refer to the OpenVMS DCL
Dictionary.
By default, allocating a tape or disk device requires VOLPRO privilege. However,
you can grant access to unprivileged users in two ways:
• Set device protection to grant control access to group or world, as appropriate.
• Add an ACL to the device and grant a general identifier to all users who
should have access.
Section 9.3.4 has more information about the VOLPRO privilege.
8.3.1 Granting Access to a Specific Device
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.
8.3.2 Granting Access to All Devices
Use the following method to grant a specified class of users access to all devices:
1. 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.
2. Run the following command procedure:
SYS$EXAMPLES:RESET_DEVICE_PROTECTION.COM
8–6 Managing Peripheral Devices










