Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rexecd(8)



  rexec(1)                            CLIX                            rexec(1)



  NAME

    rexec - Remotely executes a command

  SYNOPSIS

    rexec [username@]host[:password] command

  DESCRIPTION

    The rexec command is designed to remotely execute a command, with
    authentication based on the supplied username and password. Output (and
    errors) from the command are displayed to stdout.  If there is no output
    or errors, nothing is returned.

    If the username parameter is not included on the command line, the local
    username is used.  If the password parameter is not included on the
    command line you will be prompted for the password (with echoing
    disabled).  The host and command parameters are required.

  EXAMPLES

    1.  The following example executes the ls command on the host "hostfoo" as
        user "jdoe."  Since the password is not included on the command line,
        a password prompt will appear:

             rexec jdoe@hostfoo ls


    2.  The following example executes the date command on the host "hostfoo."
        Since the user is not included on the command line, the local username
        is used (the password on the remote machine is "bar123"):

             rexec hostfoo:bar123  date


  DIAGNOSTICS

        Password incorrect. rexecd failed
                The password supplied on the command line or at the password
                prompt is incorrect.

        Login incorrect.  rexecd failed
                The username supplied on the command line is incorrect.  If no
                username was supplied on the command line, then the local
                username is not valid on the remote machine.

        ksh: command: not found
                The command specified is not a valid command on the remote
                machine.




  2/94 - Intergraph Corporation                                              1






  rexec(1)                            CLIX                            rexec(1)



  EXIT VALUES

    The rexec command returns the command output, or any error messages that
    occur, to stdout.  If there is no output or error messages, nothing is
    returned.

  RELATED INFORMATION

    Commands:  rexecd(8)













































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026