| United States-English |
|
|
|
![]() |
HP OpenVMS Systems Documentation |
OpenVMS System Manager's Manual
14.6.1 Controlling Access to QueuesQueues are permanent security objects. They are stored in the system queue database together with their security profiles. As with a file or directory, you can use UIC-based or ACL-based protection to control access to a queue.
Refer to the OpenVMS Guide to System Security for detailed information about establishing
system security.
UIC-based protection restricts the jobs and the users who have access to a queue. Operations that apply to queues are controlled by UIC-based protection in the same way that access to other protected objects (such as files) is controlled. When you create a queue, the queue is assigned an owner UIC and a protection code. The default owner is [SYSTEM], but you can specify another owner with the /OWNER_UIC qualifier. The queue class provides the following default UIC-based security profile:
Jobs are assigned an owner UIC equal to the UIC of the process that submitted the job, unless the job was submitted with the /USER qualifier. Each job in a queue (and each operation that is performed on a queue) is checked against the UIC of the owner, the protection of the queue, and the privileges of the requester. All operations are checked as follows:
The following table lists the types of access that the queue class supports:
Note that when a process receives read or delete access through a protection code, it can operate on only its job in the queue. However, when granted through an ACL, read and delete access allow a process to operate on all jobs in the queue. You need SYSNAM and OPER privilege to stop or start the queue manager. OPER is necessary to create and delete queues, or to change the symbiont definition. The following events can be audited, provided the security administrator enables auditing for the event class:
For more information about queue security, refer to the OpenVMS Guide to System Security.
Use the following commands to set and show UIC-based protection on queues:
14.6.1.3 Understanding ACL-Based Queue ProtectionIn 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.
Use the following commands to set and show ACL-based protection on queues:
For more information about ACL-based security, refer to the OpenVMS Guide to System Security.
14.6.1.5 Understanding How Privileges Affect QueuesCertain account privileges allow users to access a queue in spite of UIC-based and ACL-based protection. The following table lists these account privileges and the type of access they allow on a queue:
14.6.2 Using Job Retention Options
Job retention options allow users to retain a job in a queue after the
job completes. System managers can use job retention options to keep
information about all jobs in the queue after the jobs complete; this
is helpful when tracking jobs submitted by other users.
Users can set job retention, as can system managers. The following sections explain how each can perform this task. Users can request that a job be retained in a queue after the job completes by using the /RETAIN qualifier with the PRINT or SUBMIT command. For example:
By default, no job retention option is set on a queue. To specify a job retention option, use one of the following commands:
You can specify one of the following options:
The following command specifies that the queue retain all jobs that complete with a status other than success:
For example, if you need to know all batch jobs that do not complete successfully on a specific queue, set the queue to retain jobs that complete with an error status. You can enter SHOW QUEUE to display a list of jobs (including their completion status) that completed unsuccessfully. If a job completes unsuccessfully, this message helps determine why. The displays also include the date and time at which a retained job completed. The job retention option you specify on a queue overrides any job retention option requested by a user for a job in that queue. Figure 14-10 shows how job retention affects a job submitted to a generic queue. Figure 14-10 Determining Job Retention
The following factors determine whether and where a job is retained:
If jobs are retained in queues, periodically delete the jobs that no
longer need to be retained.
Users can specify timed job retention. For example:
This eliminates the need to delete retained jobs from queues. Encourage
users who include the /RETAIN qualifier to also use timed retention.
To change the user-specified retention policy for a job, use the /RETAIN=option qualifier with the SET ENTRY command in the following format:
You can specify one of the following options:
For example, the following command retains job 172 in the queue until 3 hours after the job completes. At that time, the job will automatically be deleted from the queue.
To remove a job retention option from a queue, use the /NORETAIN
qualifier with INITIALIZE/QUEUE, START/QUEUE, or SET QUEUE.
A characteristic is any attribute of a print or batch job that is relevant to your environment. For example, characteristics for a printer could refer to the color of the ink, the type of paper, or the location of the printer. Once you define the characteristics for a queue, users can specify the characteristics they want to associate with their job when they enter the PRINT or SUBMIT command. A print job can be processed on an execution queue if the job's characteristics are a subset of the queue's characteristics. However, if any of the characteristics associated with the job are not associated with the queue, the job remains pending until you correct the characteristic mismatch as explained in Section 14.8.2.2. To specify queue characteristics, perform the following steps:
You manage three LN03 printers in each of the four corners of a building. A generic queue LN03$PRINT feeds execution queues for each printer. You can define the characteristics EAST, WEST, NORTH, and SOUTH. When a user submits a print job to LN03$PRINT with the EAST characteristic, the job prints on the first idle LN03 printer in the eastern corner of the building. If the system has queues for printers on multiple floors, you can further define a characteristic for each floor, for example, FIRST, SECOND, and THIRD.
Commands for Specifying Queue Characteristic Options
Use the following commands when working with characteristics:
The following sections describe how to specify queue characteristics.
No characteristics are defined by default. To define a characteristic, use the DEFINE/CHARACTERISTIC command in the following format:
You cannot define more than one characteristic name to a number. If your queue configuration requires more than one characteristic name for a single number, you can define logical names to achieve the same result. In an OpenVMS Cluster environment, you must define the logical names on every node that requires them.
In the following example, the characteristic name SECOND_FLOOR is assigned to characteristic number 2. The logical names SALES_FLOOR and SALES_DEPT are defined as equivalent to the characteristic name SECOND_FLOOR. As a result, the logical names SALES_FLOOR and SALES_DEPT are equivalent to the characteristic name SECOND_FLOOR and characteristic number 2. These logical names can be specified as the characteristic-name value for any /CHARACTERISTIC=characteristic-name qualifier.
|
| ** About PDF files: The PDF files on this Web site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software installed on your system, you may download it from the Adobe Web site. | ||
|
|||||||||||||||