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

Safeguard for Sudo 7.1.1 - Administration Guide

Introducing Safeguard for Sudo Planning Deployment Installation and Configuration Upgrade Safeguard for Sudo System Administration Managing Security Policy Administering Log and Keystroke Files Troubleshooting Safeguard Variables Safeguard programs Installation Packages Unsupported Sudo Options Safeguard for Sudo Policy Evaluation

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; 
   } 
}
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级