acl create

Creates an ACL policy in the ACL database. This command does not create ACL entries.

Requires authentication (administrator ID and password) to use this command.

Syntax

acl create acl_name

Options

acl_name
Specifies the name of the ACL policy that is being created. A valid ACL policy name is an alphanumeric string that is not case-sensitive. String values are expected to be characters that are part of the local code set. Spaces are not allowed. The following characters cannot be used in the name of the ACL policy:
! " # & ( ) * + , ; : < > = @ / \ | .

Examples: default-root, test, default-management, and pubs_acl3

Return codes

0
The command completed successfully.
1
The command failed. When a command fails, the pdadmin command provides a description of the error and an error status code in hexadecimal format (for example, 0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the Security Access Manager error messages by decimal or hexadecimal codes.

Examples

  • The following example creates an ACL policy named pubs_acl3:
    pdadmin sec_master> acl create pubs_acl3
  • The following example creates an ACL policy named Test-ACL:
    pdadmin sec_master> acl create Test-ACL

See also