Chatee ahora con Soporte
Chat con el soporte

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

Description

Type integer READONLY

pmshell initializes to true if a Privilege Manager for Unix shell program (such as pmksh, pmsh, pmcsh, pmloginshell, and pmbash) is running; otherwise, the variable is undefined.

Example
if (defined pmshell) 
{ 
   printf ("Now running: %s\n", pmshell_prog); 
   pmshell_restricted = 1; 
   pmshell_checkbuiltins = 1; 
   pmshell_reject = "You are not allowed to run this command"; 
   pmshell_allow = {"ls","grep","cat"}; 
   pmshell_forbid = append(pmshell_forbid, "passwd"); 
   pmshell_forbid = append(pmshell_forbid, "kill"); 
} 
else 
{ 
   printf("Not running a command within %s\n", pmshell_prog); 
   accept; 
}
Documentos relacionados

The document was helpful.

Seleccionar calificación

I easily found the information I needed.

Seleccionar calificación