SUMMARY: rsh from Solaris 2.4 to Ultrix 4.4

From: Tim Cantin (tim@dorothy.wellesley.edu)
Date: Tue Aug 08 1995 - 11:29:02 CDT


Greetings,

This one ought to get in the FAQ. Here is my original question:

> I am logged in on a Sparc 5 running Solaris 2.4; call the machine Foo.
> The other machine is a DECstation 5000/120 running Ultrix 4.4, call it Bar.
> Foo and Bar both have /etc/hosts.equiv files with each other's names in it.
> Also, under my directory on both machines I have a .rhosts file with entries
> like:
>
> On Bar: On Foo:
>
> Foo tim Bar tim
> Foo.wellesley.edu tim Bar.wellesley.edu tim
>
> I can do "rlogin Bar" and "rsh Bar" from Foo just fine, but when I try to
> do "rsh Bar date" (or "rsh Bar /bin/date") from Foo, I get "Permission
> denied". What am I doing wrong? Thanks in advance!

Here is the solution, from Badri.Pillai@ecrc.de:

> I'd a similar problem once and the reason was the remote machine "IP name"
> was not it /etc/hosts file.

I put Foo.wellesley.edu in /etc/hosts on Bar.wellesley.edu, and the rsh command
in the above scenario suddenly works. Go figure.

Thanks Badri! (and to the many others who replied with very useful things [all
of which I had already, though])

---
Tim Cantin, System and Network Manager, <tcantin@wellesley.edu>
203 Simpson East/IST, Wellesley College, Wellesley, MA 02181-8201
http://www.wellesley.edu/~tim/



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:30 CDT