Description:This action will allow you to run a command on a Unix system as root. This action requires that "expect" already be installed on the target machine, and also requires that your 'su' command support the -c switch. 'expect' can be downloaded from http://expect.nist.gov.
Input InstallAnywhere Variables:
$EXECUTE_AS_ROOT_COMMAND$: the command to run with root privileges
$EXECUTE_AS_ROOT_PASSWORD$: the root password
$EXECUTE_AS_ROOT_EXPECT_PATH$ (optional): the location of the expect binary on the system (defaults to /usr/bin/expect)
$EXECUTE_AS_ROOT_WAIT_TIME$ (optional): the timeout for the command that is running (defaults at 5 seconds)
$EXECUTE_AS_ROOT_TMP_PATH$ (optional): the location to store the temporary expect script (defaults to /tmp)
Output InstallAnywhere Variables
$EXECUTE_AS_ROOT_EXIT_CODE$: The exit code, 0 success, 100 incorrect password
$EXECUTE_AS_ROOT_ERROR_MESSAGE$: Description of any problems that occured