tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* cannot get rsh or .rhosts to work
@ 2003-01-13 16:55 Markus Waldorf
  0 siblings, 0 replies; only message in thread
From: Markus Waldorf @ 2003-01-13 16:55 UTC (permalink / raw)


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@photon03>ls -l | grep .rhosts
-rw-------   1 waldorfm user      84 Jan 13 14:44 .rhosts
root@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@photon03>cat .rhosts
photon03.rferl.org root
photon03.rferl.org waldorfm
photon03 root
photon03 waldorfm
root@photon03>

Still rsh gives a permission error:

root@photon03>rsh photon03.rferl.org waldorfm ls
Permission denied.
root@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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-13 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-13 16:55 cannot get rsh or .rhosts to work Markus Waldorf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox