User Tools

Site Tools



Executes a command as a given user. Command is executed using ssh if the user is not on localhost.


base-exec-user USER COMMAND
  • USER: A key of an user definition in the repository. From this, the following properties are used:
    • HOST_REF (required if REMOTE_HOST is not set): A key to a host definition in the repository.
    • REMOTE_HOST (optional): If REMOTE_HOST is not defined, HOST_REF must be present.
    • REMOTE_USER (optional): The user execute the command remotely. If not present, same as local user will be taken.
  • COMMAND: A command to be executed. It is executed either locally or remote using base-ssh-login.


Returns the output of the command.

z/relax/api/base/base-exec-user.txt · Last modified: 2013-02-04 23:17 (external edit)