HELPLIB.HLB  —  TCPIP Services, Remote Commands, REXEC  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