Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Syntax of dtaction

dtaction [-user user_name] [-execHost hostname] \
 action_name [argument [argument]…]

-user user_name—provides the ability to run the action as a different user. If dtaction is invoked by a user other than user_name, a prompt is displayed for the password.

-execHost hostname—for COMMAND actions only; specifies the host on which the command will be run.

argument—arguments to the action; usually file arguments.

The dtaction client has additional command-line options. For more information, see the dtaction(1) man page.