Using 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 you 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 objectsAB.CD
,AB.ED
, andAB.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 areABC
,DEF
, andGHI
.For example,
ABC.*.JKL
applies to the objectsABC.DEF.JKL
, andABC.GHI.JKL
. (Note that it does not apply toABC.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 objectsABC.DE.JKL
,ABC.DEF.JKL
, andABC.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
- **
- Use the double asterisk (**) once in a profile name as:
- The entire profile name to match all object names. For example if you use
-t prcs
to identify processes, then use ** as the profile name, you 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.
- The entire profile name to match all object names. For example if you use
Note: When using wildcard characters on UNIX and Linux®
systems, you must enclose the profile name in single quotation marks.