Chat now with support
Chat with Support

Privilege Manager for Unix 7.3 - 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

optstrictparameters

Description

Type boolean READONLY

The getopt_long() function provides specific argument parameters. Arguments with optional parameters are accepted only when entered in the format --argument=parameter. For getopt_long() to recognize non-compliant forms, such as --argument parameter, set optstrictparameters to False.

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; 
} 
Related Topics

pmclient_type_pmrun

pmclient_type_sudo

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; 
} 
Related Topics

pmclient_type

pmclient_type_sudo

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating