Tchater maintenant avec le support
Tchattez avec un ingénieur du support

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

pmshell_builtin

Description

Type integer READONLY

pmshell_builtin is a constant value that identifies a shell builtin command. Use it to compare with the value of the pmshell_cmdtype variable.

Example
if (defined pmshell_cmd){ 
   if ((user in safe_shell_list) && (pmshell_cmdtype == pmshell_builtin)) 
   { 
      #allow all built-ins for selected users accept; 
   } 
}

pmshell_cmd

Description

Type integer READONLY

pmshell_cmd is only defined if the command is a Privilege Manager for Unix shell program (in which case it is set to false) or the command is a shell subcommand running from a Privilege Manager for Unix shell program (in which case it is set to true).

This variable is only applicable to the pmsh, pmksh, pmcsh, and pmbash programs.

Example
if (defined pmshell_cmd){ 
   if (user !in safe_shell_list) 
   { 
      #check builtins 
      pmshell_checkbuiltins=true; 
   } 
}

pmshell_cmdtype

Description

Type integer READONLY

pmshell_cmdtype is only defined if the command is a shell subcommand running from a Privilege Manager for Unix shell.

This variable is only applicable to the pmsh, pmcsh, pmksh, and pmbash programs.

It is set to one of these constant values: pmshell_builtin, pmshell_script, or pmshell_exe.

Example
if (defined pmshell_cmd){ 
   if (user !in safe_shell_list) 
   { 
      #check builtins 
      pmshell_checkbuiltins=true; 
   } 
}

pmshell_exe

Description

Type integer READONLY

pmshell_exe contains a constant value that identifies a normal executable command. Use it to compare with the value of the pmshell_cmdtype variable.

Example
if (defined pmshell_cmd){ 
   if (pmshell_cmdtype == pmshell_exe) 
   { 
      if (basename(runcommand) in shell_sub_list) { 
         accept; 
      } 
   } 
}
Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation