Re: Accessing remote tape drive
Posted in 1997
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. 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: systemA systemA.domain.com systemA.sub.domain.com Hope that helps. -- There are links to many backup and storage management resources at my web site: http://miso.wwa.com/~curtis (temporary) http://www.backupcentral.com (Jul, 1997) (I am currently writing a book for O'Reilly Publishing about enterprise backup and recovery, and would appreciate your input on suggested topics that I should cover.)