Technical data

Setting Up and Maintaining Queues
14.6 Using Queue Options
Command Description
SET SECURITY/CLASS=QUEUE/OWNER=uic Modifies the owner element of a queue.
Specify the UIC in the standard format.
SET SECURITY/CLASS=QUEUE/
PROTECTION=ownership[:access]
Modifies the protection code of a queue.
The protection code defines the type of
access allowed to users, based on their
relationship to the object’s owner.
SHOW SECURITY/CLASS=QUEUE Shows protection currently set for objects of
the queue class.
Examples
1. The following example sets protection on a queue, and then displays full
information about the queue:
$ INITIALIZE/QUEUE/GENERIC=(SYS_QUE1,SYS_QUE2)/
PROTECTION=(S:M,O:D,G:R,W:R) -
_$ /OWNER_UIC=[1,8]/RETAIN=ERROR SYS_PRINT
$ SHOW QUEUE/FULL SYS_PRINT
Generic printer queue SYS_PRINT/GENERIC=(SYS_QUE1,SYS_QUE2) -
_$ /OWNER=[1,8]/PROTECTION=(S:M,O:D,G:R,W:R)/RETAIN=ERROR
2. The following example gives the owner manage and delete access to this
queue and makes user AGBELL the owner. With manage access, the owner
AGBELL can manage the queue, but cannot modify security information.
$ SET SECURITY/CLASS=QUEUE/OWNER=[AGBELL]/PROTECTION=O:MD -
_$ TELEPHONE_QUE
$ SHOW SECURITY/CLASS=QUEUE TELEPHONE_QUEUE
TELEPHONE_QUEUE object of class QUEUE
Owner: [INVENTORS,AGBELL]
Protection: (System: M, Owner: MD, Group: R, World: S)
Access Control List: <empty>
14.6.1.3 Understanding ACL-Based Queue Protection
In addition to UIC-based protection, you can associate access control lists (ACLs)
with a queue. ACL-based protection provides a more refined level of protection
when certain members of a project group require access to a queue, excluding
others of the same UIC group or of other groups.
Refer to the OpenVMS Guide to System Security for detailed information about
establishing ACLs for protected objects.
14.6.1.4 Setting and Showing ACL-Based Queue Protection
Use the following commands to set and show ACL-based protection on queues:
Command Description
SET SECURITY/ACL=(IDENTIFIER=(identifier,-
_ACCESS=access-type)[,...])CLASS=QUEUE
Sets ACL protection on a queue.
SHOW QUEUE/FULL Shows any ACLs set on a queue.
SHOW SECURITY/CLASS=QUEUE Shows any ACLs set on a queue.
For more information about ACL-based security, refer to the OpenVMS Guide to
System Security.
Setting Up and Maintaining Queues 1425