I don't know/have never used rsh but I was curious so I searched for "rsh getnameinfo error" and read these things:
1. You might want to consider using ssh. rsh is an obsolete and insecure protocol
2. You have your command argument order wrong. It thinks you're connecting to a server name root and it can't resolve the name.
[from man rsh:
Code:
rsh [-Kdnx] [-l username] host [command]
and
3. rsh needs reverse DNS working for both machines.
these all from an old thread on another forum...]
I doubt that 3. is correct..., and I also question 1... but 2. certainly seems to apply. Looks like your command should be
Code:
rsh -l root 127.1.2.26 pwd
As pan64 pointed out, the problem was reported to you very clearly by rsh.