HELPLIB.HLB  —  TCPIP Services, Remote Commands, REXEC
    Use the REXEC feature to send a command to execute on a remote
    host that does not have, or might not have, the authentication
    information that RSH requires. The remote system's authentication
    files are not used.

    Along with the remote command, REXEC sends the password you
    specify on the command line to the remote host. This password
    is used for security checking.

    The Remote Shell program (RSH) invokes REXEC. To use REXEC, enter
    RSH /PASSWORD. REXEC then functions like the RSH command.

1  –  Examples

    The following example shows how to provide password information
    for the RSH command, thereby invoking the REXEC feature on the
    remote host.

    From host GRANT, user STANTON enters the file tops.holdings that
    resides on UNIX host oster. Because STANTON is not listed in
    oster's authentication files, user STANTON must use the REXEC
    feature and supply the /USER_NAME and /PASSWORD qualifiers.
    Quotation marks are required around the password because it
    contains uppercase letters.

    $ RSH OSTER /USER_NAME=STANTON /PASSWORD="KeepingSaneJoy" -
    _$ CAT TOPS.HOLDINGS
Close Help