At 09:58 AM 4/14/00 +0300, you wrote:
>Hello
>
>>Rsh only works if you have .rhosts file existing in the home directory.
>>For example, on rhost under the home directory of some_user, you need to
>>have a .rhosts file looks like this:
>
>>the_host_name_of_the_remote_node.ukrtel.net
>
>>Notice this is NOT the hostname of "rhost."
> 
> Yes, I have the name of my host in remotehost's .rhosts file.
> It works , when I do `rsh rhost ...` being test.
> But it doesn't work for me , when I being root ,do `rsh -l test rhost...`.
>
>P.S.: though in interactive mode it works; it asks for password and
>when i supply it - connects. It seems doesn't have possibility of supplying
>password in command string.. :(
>
Try putting root@<local machine> in the .rhosts file in
test@<remote machine>'s home directory.  If I remember the
syntax correctly, that should let root run commands as test
on the remote machine without asking for a password.

Mikkel

--
    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to