How to configure a Change Environment Variables script and apply to a rule

  • 7016983
  • 12-Nov-2015
  • 11-Apr-2016

Environment

NetIQ Privileged User Manager
NetIQ Privileged Account Manager

Situation

How to configure a Change Environment Variables script and apply to a rule
How to import the sample Change Environment Variables script
How to apply a script to a desired rule
How to configure script arguments for a rule
How to apply ORACLE environment variables to be appended to Environment Variables, added during login (example)

Resolution

Please follow the steps below to apply and configure the sample Change Environment Variables script to a particular rule:

  1. Import the sample modify environment script:
    See Sample Scripts.
    Note: See the available arguments in the Modify Environment Script example (to be configured in step 3).

  2. Apply the script to the desired rule:
    See Assigning a Script to a Rule.

  3. Configure Script Arguments:
    See Configuring Script Arguments and Entities for a Rule. The following is an example for a few ORACLE environment variables:

  4. The above environment variables will be added to the user's environment during login and can be verified with usrun.
    Note: According to Engineering, it is applied when using usrun, but not directly to SSH connections.