rsh is a remote host command, but to be able to do it on another server, first
you need to have a .rhost file for that user on the server allowing the
connection.

local server=123      user=bob

on the remote host you would do this:

Log on as that user..

cd or cd ~

vi .rhost
123       bob

then :wq!

Next you would edit the .profile on the remote server to verify his path to
make sure the command is in the correct path. If you can't do that, I would
use remsh instead. 

Al Smith
Systems Engineer
Thomas Jefferson University Hospital
[EMAIL PROTECTED]

> When run the command on remote host using rsh, i always get the "command
> not found", thats mean the command not in the PATH. So how to add the
> PATH? Is rsh user .basrc or /etc/profile as the default profile ?
> 
> How about rlogin ?
> 
> Thanks
> 
>  ---                                                                   ---
> -_-                                                                     -_- 
>  **~*                                                                  **~*
>  F  /-/           LangZhi UPM <[EMAIL PROTECTED]>               /-/F
>  R /-/     whois > Chan Kien Eng <[EMAIL PROTECTED]>           /-/ R
>  E/-/ " We grow strong by pains,grow great by dreams - Dave Wang "   /-/  E
>  E - - -         ^  When do you wanna cra$h today ??   ^         - - -    E
> 

Reply via email to