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.
- Log in to Control Center as an administrator.
- Click System Properties.
- Click the Add icon ().
- In the Key text box, enter com.vmware.js.allow-local-process.
- In the Value text box, enter true.
- In the Description text box, enter a description for the system property.
- Click Add.
- Click Save changes from the pop-up menu.
A message indicates that you have saved successfully.
- Restart the Orchestrator server.
You granted permissions to Orchestrator applications to run local commands in the Orchestrator server host operating system.
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