Re: Accessing remote tape drive
Posted in 1997
Curtis Preston wrote: > > In article <33C217DD.75C7@informix.com>, From "Mark D. Stock" > <mdstock@informix.com>, the following was written: > >> I tried the .rhosts route, but it didn't work for me. I'm guessing > >> that the problem might me that the users "informix" don't have the > >> same UID on each machine, so that's my task to fix tomorrow. > > > > The UID doesn't make a difference. Try /etc/hosts.equiv first, then > > work back from there. > > /etc/hosts.equiv is not required to be able to rsh from one machine to > another. Only a .rhosts file is. Adding any machines to hosts.equiv > will allow ALL users to rsh back and forth. Bad idea. Besides, if > rhosts isn't working for you, then hosts.equiv won't either. I KNOW that. I was trying to establish WHERE the problem is. If /etc/hosts.equiv works, then it's in .rhosts. If /etc/hosts.equiv doesn't work then it's a bigger problem. ;-) But then you knew all that REALLY, didn't you? > You probably don't have the right machine name in their. OK, call them > systemA and systemB. If you want systemA to use systemB's tape drive, > you need to be able to rsh from B to A and from A to B. If you cannot > rsh from B to A, then telnet over there first. Do a 'who' and look for > yourself. It will tell you what machine you came from in the last > column. It might be showing up as systemA.domain.com. If that is the > case, then you have to have systemA.domain.com in systemB's .rhosts > file. Sometimes the same host can appear as different names, depending > on what was used to resolve the host name to an IP address. So a lot of > times I will just include all combinations in the .rhosts file: Cheers, -- Mark. +----------------------------------------------------------+-----------+ |Mark D. Stock - Informix SA http://www.informix.com |//////// /| |mailto:mdstock@informix.com FAQ http://www.iiug.org |///// / //| | +-----------------------------------+//// / ///| | Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////| | Fax: +27 11 807 2594 |If it's fast, the users keep quiet.|// / /////| |Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////| +----------------------+-----------------------------------+-----------+