policysetenv

Description

The policysetenv procedure is used to locally set an environment variable on the policy server host.

Not supported in Endpoint Privilege Management for Linux (EPM-L).

Syntax

policysetenv(variable, value)

Arguments

variable Required. The environment variable on the policy server host to set.
value Required. The value to set the variable to.

Return Values

Not applicable

policysetenv("PATH", "/bin:/usr/bin:/usr/sbin");

In this example, the policy server host’s PATH variable is set to /bin:/usr/bin:/usr/sbin.

For more information, see the following: