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.
This variable also controls the login user name during a pmrun session, which is returned by the logname command or the getlogin system function.
If unset, it will default to the runuser variable.
TIP: If you want your site to have a more sudo-like behavior where the login user and the utmp entry contain the request user, add the following line to the policy:
runutmpuser=requestuser;
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));
}
Description
Type integer READ/WRITE
tmplogdir is the directory used for temporary storage of I/O log files if a remote log host is specified in iologhost. The default value is /opt/quest/qpm4u/iologs/queue.
Example
iologhost="sol34.test.com";
tmplogdir="/var/iologs/queue";
iolog = mktemp("/var/adm/pm.enc."+user+"."+command+".XXXXXX");
}
The following predefined global variables appear only in the audit (event) log. They are not available for use in the policy file, as they are set by pmlocald during the runcommand session. Use pmlog to view them.
Table 31: Global event log variables
alertdate |
string |
Date on which the alert was raised. |
alerttime |
string |
Time at which the alert was raised. |
event |
string |
Type of event. |
exitdate |
string |
Date on which the finish event was logged. |
exitstatus |
string |
Exit status of the request |
exittime |
string |
Exit time of the request. |