From owner-freebsd-questions Tue Aug 22 9:38: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from Samizdat.uucom.com (samizdat.uucom.com [198.202.217.54]) by hub.freebsd.org (Postfix) with ESMTP id AF08737B423 for ; Tue, 22 Aug 2000 09:38:00 -0700 (PDT) Received: (from cshenton@localhost) by Samizdat.uucom.com (8.9.3/8.9.3) id MAA11492; Tue, 22 Aug 2000 12:37:56 -0400 (EDT) To: Blake Swensen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: stupid sysadmin tricks (was: Amanda and Tapedev) References: <4.3.2.7.0.20000822065115.00b4de20@mail.pyramus.com> <4.3.2.7.0.20000822085641.00bb62b0@mail.pyramus.com> From: Chris Shenton Date: 22 Aug 2000 12:37:56 -0400 In-Reply-To: Blake Swensen's message of "Tue, 22 Aug 2000 09:11:40 -0700" Message-ID: Lines: 31 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 22 Aug 2000 09:11:40 -0700, Blake Swensen said: Blake> hostname /dev/wd0s1a lev 0 FAILED [hostname: [access as bin not Blake> allowed from bin@hostname.domain.com] You using .amandahosts or .rhosts? I use the former but believe the procedure is the same. I run amdump as "operator" and make sure all my raw disks are readable by "operator". Then I have to make sure this user can "login" to the remote machine and local machine (I want to backup the disks on the machine which is actually running amamda and has the tape drive). You have to have config each user@host that amanda will "login" as that it's ok -- in .rhosts or .amhosts. The error log message is very helpful. You must make sure that "bin hostname.domain.com" is in your .rhost/.amandahosts file. I can never remember if defaulting to the empty host, or the unqualified hostname is sufficient so I do something like the following, where thanatos is the machine running amdump: thanatos# cat .amandahosts localhost localhost.shenton.org thanatos.shenton.org thanatos.shenton.org root # for amrecover as root@thanatos absinthe.shenton.org root # for amrecover as root@abinthe sisyphus.shenton.org root There used to be a bug with hostnames being treated as case sensitive but I believe that's fixed now. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message