Type string READONLY
pmversion contains the Privilege Manager for Unix version and build number.
print("The current Privilege Manager for Unix version is %s", pmversion);
Type string READONLY
ptyflags contains a bitmask indicating the ptyflags set from the submit user's environment. If set, the following bits indicate:
Bit 0: stdin is open
Bit 1: stdout is open
Bit 2: stderr is open
Bit 3: command was run in pipe mode
Bit 4: stdin is from a socket
Bit 5: command to be run using nohup
PTY_IN=0x1; if (ptyflags & PTY_IN) { #only authenticate if stdin is open and password can be entered if (!authenticate_pam(user, "sshd")) { reject "Failed to authenticate user"; } } else { reject "Cannot authenticate the user"; }
Type integer READONLY
Indicates if the request is local.
# reject requests to run on a remote host if (requestLocal == false) reject "remote requests are not allowed";
Type string READONLY
if ((user in adminusers) && (requestuser in adminusers_allowed)) { runuser = requestuser; }
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center