Wildcards in FILE Resource Names
How to use wildcards in a PAM SC FILE resource name to create a file record that corresponds to multiple files.
capamsc141
By using wildcards in a file resource name, you can create a file record that corresponds to multiple files: any file with a name that matches the wildcard pattern is protected by the access authorities associated with the record.
The wildcards that you can use are:
- * for any number of any characters
- ? for any one character
If a physical resource name matches more than one resource record name, the longest nonwildcard match is used for that resource.
Privileged Access Manager
does not
accept the following patterns in names of FILE resources:- *
- /*
- /tmp/*
- /etc/*
Example: Use of Wildcards in a FILE Resource
The FILE resource /usr/lpp/bin/* protects all files and subdirectories under /usr/lpp/bin (however deeply nested).