next up previous contents index
Next: Mail Up: Remote Shell Previous: Examples:

rexec

  With the rexec command you can execute a command on every remote UNIX host you have an account on, regardless if they are made equivalent or not with the rhosts mechanism. The rexec command works in the same way as remsh does, the only difference is that you will be prompted for your name and password on the remote host.
 
               		  rexec  hostname  command

You can try the examples from the last section on remsh with one disadvantage: If you use unquoted I/O redirection the authentification prompts do not work properly; you will not see the prompts but you can type in your username and password ``blindly''.



Alan Silverman
Wed Apr 12 16:54:02 METDST 1995