The Orchestrator API provides a scripting class, Command, that runs commands in the Orchestrator server host operating system. To prevent unauthorized access to the Orchestrator server host, by default, Orchestrator applications do not have permission to run the Command class. If Orchestrator applications require permission to run commands on the host operating system, you can activate the Command scripting class.

About this task

You grant permission to use the Command class by setting an Orchestrator configuration system property.

Procedure

  1. Log in to Control Center as an administrator.
  2. Click System Properties.
  3. Click the Add icon ().
  4. In the Key text box, enter com.vmware.js.allow-local-process.
  5. In the Value text box, enter true.
  6. In the Description text box, enter a description for the system property.
  7. Click Add.
  8. Click Save changes from the pop-up menu.

    A message indicates that you have saved successfully.

  9. Restart the Orchestrator server.

Results

You granted permissions to Orchestrator applications to run local commands in the Orchestrator server host operating system.

Note:

By setting the com.vmware.js.allow-local-process system property to true, you allow the Command scripting class to write anywhere in the file system. This property overrides any file system access permissions that you set in the js-io-rights.conf file for the Command scripting class only. The file system access permissions that you set in the js-io-rights.conf file still apply to all scripting classes other than Command.