From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078612210663.tru64-unix-managers.marc@archive.invalid> From: Per Ivar Emanuelsen Date: Wed, 28 May 1997 11:47:39 +0000 To: tru64-unix-managers Subject: SUMMARY: rlogin and .rhosts problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078612210663 Thanks to the following managers for providing solutions to my problem: Knut Helleb=F8 Gyula Szokoly Michael Mays "Dr. Tom Blinn, 603-881-0646" Original question: >I have a problem regarding rlogin and the .rhosts file. >I want to be able to 'rlogin machine2' from machine1. I want to create a= =20 >.rhosts file so that I don't need to provide my password on machine2. >My .rhosts file on both computers looks like this (note that the=20 >computers are on the same domain): > >machine1.my.domain username >mackine2.my.domain username > >The .rhosts files are both chmod 0600. > >When I now try to 'rlogin machine2' I still need to provide a password. >Now, if I change my .rhosts file to: > >machine1 username >machine2 username > >then everything work as it's supposed to. BUT what about the security is= sue? >Will computers at other domains with hostname machine1 be able to rlogin= =20 >to machine2?=20 > >Why doesn't my first .rhosts file work? > >machine1 is a AlphaStation 250 running DU4.0. I will soon upgrade to 4.0= B. > Knut Helleb=F8: Edit the /etc/svc.conf file. The 'hosts' line gives the order in which th= e system searches for other computers. Me: I changed the line from 'hosts=3Dlocal,bind,yp' to 'hosts=3Dbind,yp,l= ocal'. Although the man pages says that 'local' should be the first entry for the hosts database, it works. Now it seems my first '.rhosts' file can be= used. If anybody has viewpoints of this, please let me know. Gyula Szokoly: Suggest I should install tcp-wrappers from ftp.cert.org to disable rlogin from other domains. Per-Ivar ------------------------------------------------------------------- Per-Ivar Emanuelsen | e-mail: Per-Ivar.Emanuelsen@phys.uit.no = =20 The Auroral Observatory | phone: +47 77 64 51 37 University of Tromso | =20 -------------------------------------------------------------------