Command reference / sec

CRTAUTL

Create Authorization List

Creates an authorization list, which gives a set of users specific authorities to one or more objects. Each listed user receives the authorities specified for them in the list. A user's specific authority to an object overrides the list, and specific authority overrides group authority. If an object's public authority is *AUTL, the list's public authority is used.

Allowed environments: *ALL. Positional parameters: 2.

Restrictions

Parameters

AUTL Authorization list

Name to give the authorization list object being created. This parameter is required.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

AUT Authority

Authority given to users who have no specific authority, are not on the list, and whose group profiles have no specific authority. Default *CHANGE.

Type
*CHAR
Required
No
Default
*CHANGE
Length
8
Case
Uppercase

Allowed values: *CHANGE, *ALL, *USE, *EXCLUDE

*CHANGE
All operations except those limited to the owner or controlled by *OBJEXIST and *OBJMGT; includes *OBJOPR and all data authority. For an authorization list, users cannot be added, changed or removed.
*ALL
All operations except those limited to the owner or controlled by *AUTLMGT; can control existence and security, and can change ownership.
*USE
Basic operations such as running a program or reading a file; cannot change the object. Provides *OBJOPR, *READ and *EXECUTE.
*EXCLUDE
No access to the object.

TEXT Text 'description'

Short text describing the object, up to 50 characters enclosed in apostrophes. Optional.

Type
*CHAR
Required
No
Default
*BLANK
Length
50
Case
Uppercase

Suggested / special values: *BLANK

*BLANK
No text is specified.

Examples

CRTAUTL AUTL(PROGMR) AUT(*CHANGE) TEXT('Programmers authorization list')

Creates authorization list PROGMR. Users with no other authority to an object secured by it, and whose group has none, receive *CHANGE authority when the object's public authority is *AUTL.

IBM command documentation

Generated from os/cl/catalog/CRTAUTL.json and os/cl/help/CRTAUTL.json.