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

Privilege Manager for Unix 7.3 - 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

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.

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;

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

iolog

iologhost

iolog_opmax

iolog_errmax

iolog_encrypt

log_passwords

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.

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택