The vRealize Orchestrator API provides a scripting class,
Command, that runs commands in the vRealize Orchestrator server host operating system. To prevent unauthorized access to the server host, by default, vRealize Orchestrator applications do not have permission to run the
Command class. If vRealize Orchestrator applications require permission to run commands on the host operating system, you can activate the
Command scripting class.
You grant permission to use the
Command class by setting an vRealize Orchestrator configuration system property.
- Log in to Control Center as root.
- Click System Properties.
- Click New.
- 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.
- Wait for the vRealize Orchestrator server to restart.
You granted permissions to vRealize Orchestrator applications to run local commands in the vRealize Orchestrator server host operating system.
com.vmware.js.allow-local-processsystem property to
true, you allow the
Commandscripting 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
Commandscripting 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