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.
Description
Type integer READONLY
pid contains the process ID number of the pmmasterd process.
Example
printf("The pmmasterd process id is :%i", pid);
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;
}
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;
}