Miscellaneous Functions and Procedures

Miscellaneous functions and procedures (refer to the following table) do not fit into any other category.

Function/ Procedure Description
egrep()

Runs the policy server host’s egrep() command using the provided arguments and files, and returns the result as a string.

Version 4.0 and earlier: function not available.

Version 5.0 and later: function available.

fgrep()

Runs the policy server host’s fgrep command using the provided arguments and files, and returns the result as a string.

Version 4.0 and earlier: function not available.

Version 5.0 and later: function available.

glob() Matches a string to a pattern.
grep()

Runs the policy server host’s grep command using the provided arguments and files, and returns the result as a string.

Version 4.0 and earlier: function not available.

Version 5.0 and later: function available.

iologcloseaction
runhost()

Executes a specified program on the runhost when the session is ended and the iolog is closed.

Version 9.3 and earlier: procedure not available.

Version 9.4 and later: procedure available.

ipaddress() Returns a machine’s IP address.
isset() Checks a variable to see if it has a value.
quote() Encloses a string in quotation marks.
remotesystem() Runs a command on a specified Privilege Management for Unix and Linux runhost.
runtimewarn()

Warns the user on stderr that the session has exceeded the time limit.

Version 9.3 and earlier: procedure not available.

Version 9.4 and later: procedure available.

runtimewarnlog()

Records to logserver’s syslog that a user’s session has exceeded the time limit.

Version 9.3 and earlier: procedure not available.

Version 9.4 and later: procedure available.

system() Runs a command.
unset Removes temporary variables from the event and I/O log files.