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;
}
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";
}
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";
}
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));
}