Specialpgm or PACL rules containing a wildcard do not work after restart - PAM Server Control
search cancel

Specialpgm or PACL rules containing a wildcard do not work after restart - PAM Server Control

book

Article ID: 8187

calendar_today

Updated On:

Products

CA Threat Analytics for PAM CA Privileged Access Manager - Server Control (PAMSC) CA Privileged Access Manager (PAM) CA Privileged Identity Management Endpoint (PIM)

Issue/Introduction

PAM Server Control (PAMSC) may fail to recognize generic specialpgm or PACL definitions containing wildcards immediately after restarting PAMSC services. This results in access attempts being blocked or audit logs failing to display the expected full program paths. After a restart of the PAMSC services, you may observe the following:

  • Programs defined under a wildcard path (e.g., /full/path/*) are not bypassed as expected.
  • The audit log displays only the filename of the accessed program instead of the absolute path

Example Audit Log Entry: DD MON YYYY HH:MM:SS P FILE root Read 54 2 /tmp/test.txt program root
(Note: Only "program" is shown instead of "/full/path/program")

Environment

PAM Server Control (PAMSC) Unix Endpoints

  • Versions: All 14.x builds
  • Operating Systems: AIX and HP-UX only

Cause

This issue occurs because PAMSC cannot retrieve the full path for active processes from the /proc file system during the service initialization phase.

When PAMSC restarts, it populates an internal process table by scanning /proc. If a program was originally executed without using its absolute path, the absolute path information may be missing from /proc. Consequently, PAMSC recognizes only the short filename, which fails to match wildcard rules defined with absolute paths. PAMSC can only intercept and store the full path if the program is executed after the PAMSC service has fully started.

Resolution

To ensure proper program identification and rule enforcement, use one of the following workarounds:

  1. Define specific rules: Create a specific specialpgm or PACL entry using the absolute path for the critical program. This allows PAMSC to identify the file via device or inode rather than relying on path string matching.
  2. Use absolute paths: Modify scripts or service configurations to execute the program using its full absolute path.
  3. Sequential Startup: Ensure the program is executed only after the PAMSC service has reached a fully started state.