Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CCF0A475DA3 for ; Wed, 7 Aug 2002 10:51:44 -0400 (EDT) Received: from mail.libertyrms.com (unknown [216.94.172.167]) by postgresql.org (Postfix) with ESMTP id 37D09475D9C for ; Wed, 7 Aug 2002 10:51:44 -0400 (EDT) Received: from andrew by mail.libertyrms.com with local (Exim 3.22 #3 (Debian)) id 17cSA9-0005os-00 for ; Wed, 07 Aug 2002 10:51:49 -0400 Date: Wed, 7 Aug 2002 10:51:49 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: Automated database backups and authentication Message-ID: <20020807105149.D18589@mail.libertyrms.com> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <20020806181501.58BFD475835@postgresql.org> <20020806143043.T29630@mail.libertyrms.com> <20020806183903.52622475B07@postgresql.org> <20020806213458.GF996@yoda.plukwa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020806213458.GF996@yoda.plukwa.net>; from arturp@plukwa.pdi.net on Tue, Aug 06, 2002 at 11:34:58PM +0200 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/62 X-Sequence-Number: 5177 On Tue, Aug 06, 2002 at 11:34:58PM +0200, Artur Pietruk wrote: > On Tue, Aug 06, 2002 at 11:39:03AM -0700, Darren McClelland wrote: > > Thanks, that's an idea. I'd always been thinking of ident as unreliable, but > > if I control the authenticating server then it's something usable. At least I > [cut] > > Well, if you want to use ident that way, than you have to trust not > only those two servers, but all hosts in their network segments - do not > forget about ARP poisoning. > > I think, that in your setup it would be better to do crypt=-auth > and: > > - use PGPASSWORD environment variable, just set it before you execute If you're worried about people poisoning arp, &c., then you'd have to be mad to put a password in an environment variable. If you have this sort of security problem, use Kerberos. It's what it was designed to solve. A -- ---- Andrew Sullivan 87 Mowat Avenue Liberty RMS Toronto, Ontario Canada M6K 3E3 +1 416 646 3304 x110