This has puzzling me for a while. I hope someone can help me understand this:
Once we log in to one of our unix servers, we can log in to other unix servers by just typing the host name. Without providing a password.
I have always curious how they were set up this way and found out that admin made a sybolic link(I think this is how they made it):
ln -s /usr/bin/rsh /usr/bin/hostname1
My question is why can people just type hostname1 and get to login to other host server?
I have three linux servers all set up the same way( I think) but one of the servers can't use hostname as rsh sybolic link.
I `ln -s /usr/bin/rsh /usr/bin/hostname1` on this hostname1 server.
But when I typied hostname1 from hostname2, I got this:
....
Connection refused
...
But I can do this from hostname2 with no problem: `rsh hostname1 ls`
It will give me the list of that directory.