Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual page 174

Table of Contents

Advertisement

Script to run: Select an option from the drop-down list (Specify a File or Define Your
Own Script):
(Conditional) If you chose Binary in the Executable type field, the following options are
available:
Executable file name: Specify the complete path, including the filename, of the binary
program you want to run on a managed device.
Executable file parameters: Specify any parameters to be passed to the specified binary
program.
(Conditional) If you chose Java in the Executable type field, the following options are
available:
Java program name: Specify the Java program you want to run on a managed device.
Program parameters: Specify any parameters to be passed to the specified Java
program.
Java Runtime Executable (JRE): Specify the complete path, including the Java
Runtime Executable (JRE) name. JRE is used to interpret the Java binary file.
JRE parameters: Specify the parameters to be passed to the Java Runtime Executable
(JRE).
NOTE: The Own Defined Script specified in the Remote Execute policy is executed in the
shell specified by the environment variable SHELL. The value of the variable SHELL is
taken from the environment in which ZENworks Management daemon runs. If a value is
not specified, then /bin/sh is used, which is a default value.
Action when the execution fails: Select an action you want the system to perform when
an execution fails. You can continue modifying the file by selecting Continue modifying
the text file or you can stop the modifications in the file by selecting Do not modify the text
file.
NOTE: The backup of the text file is taken after the pre-change action completes the
execution and before the text file modification starts.
Post-change action: Specify the actions to perform after the actual changes are done in the
file.
Executable type: Select the executable type you want to run after modifying the file.
Select Binary, Java, Script, or None from the drop-down list. Depending on which type
you select, the available options vary. For more information about the specific options, see
the descriptions in the Pre-Change Action section directly above.
9 Click Next to display the Summary page.
174 Novell ZENworks 7.2 Linux Management Administration Guide
Specify a file: Fill in the fields:
Script filename: Specify the complete path, including the filename, of the script you
want to run on a managed device.
Script parameters: Specify any parameters to be passed to the specified script file.
Script engine: Specify the name and location of the script engine that runs the script.
For example, /usr/bin/perl.
Script engine parameters: Specify any parameters to be passed to the specified
script engine.
Define your own script: Type your script in the box.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents