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

pmshell

pmshell_restricted

pmshell_checkbuiltins

pmshell_prog

pmshell_reject

pmshell_allow

pmshell_forbid

pmshell_restricted