지금 지원 담당자와 채팅
지원 담당자와 채팅

Privilege Manager for Unix 7.2.1 - Administration Guide

Introducing Privilege Manager for Unix Planning Deployment Installation and Configuration Upgrade Privilege Manager for Unix System Administration Managing Security Policy The Privilege Manager for Unix Security Policy Advanced Privilege Manager for Unix Configuration Administering Log and Keystroke Files InTrust Plug-in for Privilege Manager for Unix Troubleshooting Privilege Manager for Unix Policy File Components Privilege Manager for Unix Variables
Variable names Variable scope Global input variables Global output variables Global event log variables PM settings variables
Privilege Manager for Unix Flow Control Statements Privilege Manager for Unix Built-in Functions and Procedures
Environment functions Hash table functions Input and output functions LDAP functions LDAP API example List functions Miscellaneous functions Password functions Remote access functions String functions User information functions Authentication Services functions
Privilege Manager for Unix programs Installation Packages

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

tmplogdir

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

Global event log variables

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
Variable Data Type Description
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.

alertdate

Description

Type string READONLY

alertdate contains the date when a configured alert was matched by pmlocald. It is not available for use in the policy file, it is set in the event log. To view the event log, use the pmlog -l command.

Example
#display all alerts raised with action set to log 
pmlog -l -c 'alertkeyaction == "log"'
관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택