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.. :(
- Hello again!
-
- >usage: rsh [ -l login ] [ -n ] host command
- >
- >You should do "rsh -l some_user rhost ls"
-
- Of course, I read man, but it doesn't work for some reason...
- `rsh -l test rhost ls` ---- `Login incorrect.`
-
- - Hello all!
- -
- - How can I, being root, execute some command
- - under some other user ?
- - For ex., I have user 'test' on remote host 'rhost` and
- - want to execute `rsh rhost ls` being root.
- - Now I get 'login incorrect' because it's trying to rsh
- - under root.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]