立即与支持人员聊天
与支持团队交流

Privilege Manager for Unix 7.2.1 - Administration Guide

Introducing Privilege Manager for Unix Planning Deployment Installation and Configuration Upgrade Privilege Manager for Unix System Administration Managing Security Policy The Privilege Manager for Unix Security Policy Advanced Privilege Manager for Unix Configuration Administering Log and Keystroke Files InTrust Plug-in for Privilege Manager for Unix Troubleshooting Privilege Manager for Unix Policy File Components Privilege Manager for Unix Variables
Variable names Variable scope Global input variables Global output variables Global event log variables PM settings variables
Privilege Manager for Unix Flow Control Statements Privilege Manager for Unix Built-in Functions and Procedures
Environment functions Hash table functions Input and output functions LDAP functions LDAP API example List functions Miscellaneous functions Password functions Remote access functions String functions User information functions Authentication Services functions
Privilege Manager for Unix programs Installation Packages

profile_keepenv

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"));

profile_setenv

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");

profile_unsetenv

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");

profile_use_runuser

Description

Type string READ/WRITE

The environment in which the runcommand runs is normally initialized from the submitting user's environment (that is, the env variable). To direct the pmlocald daemon to initialize the runtime environment using the runuser's environment on the agent instead, set profile_use_runuser to true. The default value is false.

Note that profile_use_runuser causes the runuser's dotfiles to run without an associated tty. The dotfiles (that is, .profile) should test for the existence of a tty (if `tty -s`) before a command runs that relies on a tty (for example, "who am i", "tset", "stty").

Example
if (defined pmshell) 
{ 
   profile_use_runuser=true; 
}
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级