Description
Type integer READ/WRITE
The clienthost variable normally matches the host name on which the pmrun client was run. To preserve the host name of the login host instead, set the preserve_clienthost variable to true.
Example
print("User has logged in from host:%s\n", clienthost);
Description
Type list READ/WRITE
A list of values specified by the keepenv() call. profile_keepenv tracks the values set from the latest keepenv() function call. Do not modify this variable directly; the keepenv() function updates this list.
Example
# add "HOME" to the keepenv list if not already in the list
if ("HOME" !in profile_keepenv)
keepenv(append(profile_keepenv,"HOME"));
Description
Type list READ/WRITE
A list of values specified by the setenv() call. profile_setenv tracks the values set from the latest setenv() function call. Do not modify this variable directly; the setenv() function updates this list.
Example
# setenv "HOME" to "/root" if not already in the list
if (search(profile_setenv,"HOME=*") == -1)
setenv("HOME","/root");
Description
Type list READ/WRITE
A list of values specified by the unsetenv() call. profile_unsetenv tracks the values set from the latest unsetenv() function call. Do not modify this variable directly; the unsetenv() function updates this list.
Example
# unsetenv "HOME" if not already in the list
if ("HOME" !in profile_unsetenv)
unsetenv("HOME");