The following predefined global variables are initialized from the submit-user’s environment.
Variable | Data type | Description |
---|---|---|
argc | integer | Number of arguments in the request. |
argv | list | List of arguments in the request. |
client_parent_pid | integer | Process ID of the client's parent process. |
client_parent_uid | integer | User ID associated with the client's parent process. |
client_parent_procname | string | Process name of a client's parent process. |
clienthost | string | Originating login host. |
command | string | Pathname of the request. |
cwd | string | Current working directory. |
date | string | Current date. |
day | integer | Current day of month as integer. |
dayname | string | Current day of the week. |
domainname | string | The Active Directory domain name for the submit user if Authentication Services is configured. |
env | list | List of submit user’s environment variables. |
false | integer | Constant value. |
gid | integer | Group ID of the submitting user’s primary group on sudo host. |
group | string | Submit user’s primary group. |
groups | list | Submit user’s secondary groups. |
host | string | Host destined to run the request. |
hour | integer | Current hour. |
masterhost | sting | Host on which the master process is running. |
masterversion | string | Privilege Manager version of masterhost. |
minute | integer | Current minute. |
month | integer | Current month. |
nice | integer | nice value of the submit user’s login. |
nodename | string |
Hostname of the sudo client. |
pid | integer | Process ID of the master process. |
pmclient_type | integer | The type of client that sent the request. |
pmclient_type_pmrun | integer | Read-only constant for pmrun type clients. |
pmclient_type_sudo | integer | Read-only constant for sudo type clients. |
pmversion | string | Privilege Manager version string of client. |
ptyflags | string | Identifies ptyflags of the request. |
requestlocal | integer | Indicates if the request is local. |
requestuser | string | User that the submit user wants to run the request. |
samaccount | string | The sAMAccountName for the submit user if Authentication Services is configured. |
status | integer | Exit status of the most recent system command. |
submithost | string | Name of the submit host. |
submithostip | string | IP address of the submit host. |
thishost | string | The value of the thishost setting in pm.settings on the client. |
time | string | Current time of request. |
true | integer | Read-only constant with a value of 1. |
ttyname | string | ttyname of the submit request. |
string |
Name of the time zone on the server at the time the event was read from the event log by pmlog. | |
uid | integer | User ID of the submitting user on host. |
umask | integer | umask of the submit user. |
unameclient | list | Uname output on host. |
uniqueid | string | Uniquely identifies a request in the event log. |
user | string | Submit user. |
year | integer | Year of the request (YY). |
Type integer READONLY
argc contains the number of arguments supplied for the original command. This includes the command name itself.
Type list READONLY
argv is a list of the arguments supplied for the original command, including the command itself.
Type integer READONLY
Process ID of client's parent process.
© 2019 One Identity LLC. ALL RIGHTS RESERVED. Feedback 이용 약관 개인정보 보호정책