Chat now with support
Chat with Support

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

thishost

Description

Type string READONLY

The value of the thishost setting in the pm.settings file on the client. If you do not specify the thishost setting or if the client cannot resolve thishost to an IP address configured on the client, the variable remains undefined.

Example
# print a warning if thishost is not defined 
if (!defined thishost) 
   printf("WARNING: the thishost variable is not defined. \ 
   Please check the pm.settings file on host %s.\n", submithost);
Related Topics

host

runhost

submithost

time

Description

Type string READONLY

time contains the time the request was submitted in the form HH:MM:SS.

Example
printf("Command Started At Time: %s", time)
Related Topics

dayname

minute

hour

day

month

year

date

true

Description

Type integer READONLY

true is a read-only constant with a value of 1.

Example
if (iolog_encrypt == true ) 
{ 
   iolog = mktemp("/var/adm/pm.enc."+user+"."+command+".XXXXXX"); 
}
Related Topics

false

ttyname

Description

Type string READONLY

ttyname contains the name of the TTY device from which the user submitted a request.

Example
if ( ttyname == "dev/pts/1") 
{ 
   printf("Command not authorized using tty device dev/pts/1"); 
   reject; 
}
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating