Use wildcard characters in OAM profiles on UNIX, Linux, and Windows
Use wildcard characters in an object authority manager (OAM) profile name to make that profile applicable to more than one object.
What makes a profile generic is the use of special characters (wildcard characters) in the profile name. For example, the question mark (?) wildcard character matches any single character in a name. So, if we specify ABC.?EF, the authorization you give to that profile applies to any objects with the names ABC.DEF, ABC.CEF, ABC.BEF, and so on.
The wildcard characters available are:
- ?
- Use the question mark (?) instead of any single character. For example, AB.?D applies to the objects AB.CD, AB.ED, and AB.FD.
- *
- Use the asterisk (*) as:
- A qualifier in a profile name to match any one qualifier in an object name. A qualifier
is the part of an object name delimited by a period. For example, in ABC.DEF.GHI,
the qualifiers are ABC, DEF, and GHI.
For example, ABC.*.JKL applies to the objects ABC.DEF.JKL, and ABC.GHI.JKL. (Note that it does not apply to ABC.JKL ; * used in this context always indicates one qualifier.)
- A character within a qualifier in a profile name to match zero or more characters within the
qualifier in an object name.
For example, ABC.DE*.JKL applies to the objects ABC.DE.JKL, ABC.DEF.JKL, and ABC.DEGH.JKL.
- A qualifier in a profile name to match any one qualifier in an object name. A qualifier
is the part of an object name delimited by a period. For example, in ABC.DEF.GHI,
the qualifiers are ABC, DEF, and GHI.
- **
- Use the double asterisk (**) once in a profile name as:
- The entire profile name to match all object names. For example if we use -t prcs to identify processes, then use ** as the profile name, we change the authorizations for all processes.
- As either the beginning, middle, or ending qualifier in a profile name to match zero or more qualifiers in an object name. For example, **.ABC identifies all objects with the final qualifier ABC.
Note: When using wildcard characters on UNIX and Linux systems, you must enclose the profile name in single quotation marks. Parent topic: Use OAM generic profiles on UNIX, Linux, and Windows