Sorry the problem was indeed silly. It was just simply a matter of using the
right command syntax. Although I read the man page dozens of times I did not
notice it. So the correct syntax is :
#rsh -l waldorfm photon03.rferl.org ls
The problem was noticed by a technician from HP who was here tonight to
replace a PCI bus in one of our servers.
Original message:
Hello,
I'm having strange problems trying to setup .rhosts. I somehow got it
working in the past, but it only worked if .rhosts had the owner of the
user's account, not if it was root, as lined out in the man page for rhosts.
But now I cannot make it to work at all. It must be something stupid. What
could be wrong please?
root_at_photon03>ls -l | grep .rhosts
-rw------- 1 waldorfm user 84 Jan 13 14:44 .rhosts
root_at_photon03>
This seems to be correct according to the .rhosts man page. The onwer of the
.rhosts file is the account owner - I also tried chown root .rhosts, with
the same effect. The permission is set correctly to 600.
The .rhosts file in the home directory of user waldorfm reads:
root_at_photon03>cat .rhosts
photon03.rferl.org root
photon03.rferl.org waldorfm
photon03 root
photon03 waldorfm
root_at_photon03>
Still rsh gives a permission error:
root_at_photon03>rsh photon03.rferl.org waldorfm ls
Permission denied.
root_at_photon03>
/etc/hosts shows:
127.0.0.1 localhost
172.16.44.44 photon03.rferl.org photon03
192.168.20.244 dnserver1.rferl.org dnserver1 #DNS nameserver
Best regards
Markus Waldorf
RFE/RL, Inc.
Received on Tue Jan 14 2003 - 02:49:20 NZDT