              <<< VAXAXP::NOTES$:[NOTES$LIBRARY]VMSNOTES.NOTE;1 >>>
               -< VAX and Alpha VMS - Digital Internal Use Only >-
================================================================================
Note 1527.2            remote execution of DCL from UNIX?                 2 of 2
RICKS::OPP                                           54 lines  13-SEP-1996 21:18
                               -< Grow your own >-
--------------------------------------------------------------------------------
    Extension to .1:
    
    	Or, your customer can write their own program that will provide
    the password-passing function provided by UCX's version of the 
    rexec command.  A Digital Internal Use Only example that I wrote
    to gain experience with sockets programming on UNIX systems is 
    described in the attached note.
    
    Greg
    
    
            <<< RICKS::SYS$SYSDEVICE:[NOTES$LIBRARY]APC164.NOTE;1 >>>
                                -< AlphaPC164 >-
================================================================================
Note 12.1                       System Test Tools                        1 of 12
GREGOR::OPP                                          36 lines  13-FEB-1996 14:44
                      -< rexec - an expanded rsh command >-
--------------------------------------------------------------------------------
     "rexec" is a program (written in C) that provides an equivalent to the 
UCX implementation of the "rsh" command by passing the login information on 
the command line.  Specifically, rexec now provides the following three 
command line formats:

     # rexec BOGART.hlo.dec.com -u smith -p geronimo "show system"
     # rexec LARGO.hlo.dec.com -user jones -pass backbeat directory
     # rexec KAFFEE.hlo.dec.com -username valdez -password Colombian "ls -l"

The source code and executable image are posted for review and use at:

        RIGEL::FTUSER:[OPP.PUBLIC.SRC]REXEC.C
        RIGEL::FTUSER:[OPP.PUBLIC.EXE]REXEC.BIN,  

respectively.  They are also currently available in the SIG Lab on node 
KAFFEE at /usr/field/systest/rexec.*.   

     This program has at least two possible applications in the realm of 
system testing.  The ones that have come to mind are:

     1. Use rexec to create network logins, network data transfers,
        and command execution on remote hosts as part of test scripts
        that perform network-oriented testing.  
     2. Provide a method to allow a single system to start and monitor
        tests on other systems under test, since the command invoked 
        on a remote node can be a resident command procedure.  

     You are invited to try rexec.  Your comments and feedback will be
welcomed.

Regards,

Greg

 
    
