Date: Fri, 25 Oct 1996 23:00:29 -0700 From: Craig Shaver <craig@progroup.com> To: questions@FreeBSD.ORG Subject: Re: remote tar/rmt + kerberos Message-ID: <3271A8FD.41C67EA6@progroup.com> References: <117350AF11C1@bldg1.croute.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Larry Dolinar wrote: > > | From: "Craig Shaver" <craig@ProGroup.COM> > > | I have a question about doing a tar to a device on another host. > | Using the tar command does not seem to work. The man page says > | you should be able to do "tar -cvf otherhost:/dev/rst0 local.files". But > | this just hangs. Does anyone use tar to do backups to a remote device? > | > > What user are you doing this under, root? If so, otherhost:/root/.rhosts > needs to allow access to your host. If not root, then the same user must > exist on both, and /etc/hosts.equiv is involved. > > But it normally will come back and say "permission denied" if you haven't > set this up. The waters get muddier of NIS is deployed; can't touch that > one. > > The older style (from Sun manpages): > > tar cvfb - 20 filenames | rsh host dd of=/dev/rst0 obs=20b > > I've never tested it under FreeBSD, but the rsh considerations > (/etc/hosts.equiv and/or ~root/.rhosts) still apply. We did use this > approach with the Suns and it worked. > > cheers, > larry Thanks to both Larry and Jonny. I was trying to use the remote tape as root, and it works when I set it up properly. However, I am having problems going from a 2.1.5R system to a 2.1.0R system. I can use the remote tar going from the 2.1.0R box to the 2.1.5R box. Unfortunately, the tape drive is on the 2.1.0R box. I have a Solaris 2.4 box that can use the tape on the 2.1.0R box. Solaris doesn't seem to be as picky as 2.1.5R. I suspect the 2.1.5R is trying to use kerberos authentication with the 2.1.0R box and fails. I thought it should give me a message, but it just hangs. When I do an rsh to the 2.1.0R box from the 2.1.5R box it hangs the same as the rmt tar does. But when I do a rsh -K (no kerberos option) it works. Can anyone shed some more light on this? Will this happen with other types of Unix? Is there a workaround? just curious, -- Craig Shaver (craig@progroup.com) (415)390-0654 Productivity Group POB 60458 Sunnyvale, CA 94088
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3271A8FD.41C67EA6>