Chat now with support
Chat with Support

Safeguard for Sudo 7.2.2 - 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 Supported sudo plugins Troubleshooting Safeguard Variables Safeguard programs Installation Packages Supported Sudoers directives Unsupported Sudo Options Safeguard for Sudo Policy Evaluation

runumask

Description

Type integer READ/WRITE

runumask is a modifiable copy of the umask input variable. Specifies the umask filter which determines file permissions for files created during execution of the runcommand.

Example
trustedusers = {"jamie", "cory", "robyn"}; 
if (user in trustedusers ) 
{ 
   runumask=066; 
}
Related Topics

umask

runuser

Description

Type string READ/WRITE

runuser is a modifiable copy of the user input variable. Specifies the user name that pmlocald uses when initializing the runtime environment for the runcommand.

Example
if ( (user == "apache") && (command == "admin.cgi") ) 
{ 
   runuser="root"; 
}
Related Topics

user

runutmpuser

Description

Type string READ/WRITE

runutmpuser specifies the login name of the user that will be used when updating the UNIX utmp and wtmp files when the request runs.

Example
if ( user == "djv" ) 
{ 
   runutmpuser="dave"; 
}

subprocuser

Description

Type string READ/WRITE

subprocuser is the user name used to run any subprocesses of pmmasterd such as, when running the system function. The default value is "root".

Example
subprocuser="appl_user"; 
cfile=system("find /home/applhome -name customprofile.txt"); 
if (status == 0) 
{ 
   print(readfile(cfile)); 
}
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating