Syntax
policysetenv ( string variable, string value )
Description
The policysetenv procedure sets one or more environment variables in the policy server.
Example
#set the shell variable policysetenv("SHELL", "/opt/quest/bin/pmsh");
policysetenv ( string variable, string value )
The policysetenv procedure sets one or more environment variables in the policy server.
#set the shell variable policysetenv("SHELL", "/opt/quest/bin/pmsh");
unsetenv( string env1 [, env2, …+ )
The policyunsetenv procedure removes the named environment variable from the policy server.
The following example deletes the PAGER and EDITOR environment variables from the policy server.
policyunsetenv("PAGER", "EDITOR");
setenv ( string name, string value )
The setenv procedure sets one or more environment variables in the runenv variable.
#set the shell variable setenv("SHELL", "/opt/quest/bin/pmsh");
unsetenv( string env1 [, env2, …+ )
The unsetenv procedure removes the named environment variable from the runenv variable.
The following example deletes the PAGER and EDITOR environment variables from the runtime environment.
unsetenv("PAGER", "EDITOR");
© ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center