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

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

pid

Description

Type integer READONLY

pid contains the process ID number of the pmmasterd process.

Example
printf("The pmmasterd process id is :%i", pid);

pmclient_type

Description

Type integer READONLY

The client type (pmrun or sudo) of the Privilege Manager for Unix request.

Example
# reject if pmclient_type is "sudo" 
if (pmclient_type == pmclient_type_sudo) { 
   reject; 
} else if (pmclient_type == pmclient_type_pmrun) { 
  ok = true; 
} 

pmclient_type_pmrun

Description

Type integer READONLY

Read-only constant for pmrun type clients. You can compare pmclient_type_pmrun to pmclient_type to determine if the request was sent from a Privilege Manager for Unix client including the pmrun command, the pmshells (pmksh, pmsh, pmcsh, pmbash), and the pmshellwrapper.

Example
# reject if pmclient_type is "sudo" 
if (pmclient_type == pmclient_type_sudo) { 
   reject; 
} else if (pmclient_type == pmclient_type_pmrun) { 
   ok = true; 
} 

pmclient_type_sudo

Description

Type integer READONLY

Read-only constant for sudo type clients. You can compare pmclient_type_sudo to pmclient_type to determine if the request was sent from a Sudo Plugin client.

Example
# reject if pmclient_type is "sudo" 
if (pmclient_type == pmclient_type_sudo) { 
   reject; 
} else if (pmclient_type == pmclient_type_pmrun) { 
   ok = true; 
}
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级