Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6DE03474E44 for ; Tue, 6 Aug 2002 17:35:26 -0400 (EDT) Received: from yoda.plukwa.net (yoda.plukwa.net [213.146.36.61]) by postgresql.org (Postfix) with ESMTP id CC8AF474E50 for ; Tue, 6 Aug 2002 17:35:25 -0400 (EDT) Received: from arturp by yoda.plukwa.net with local (Exim 3.35 #1 (Debian)) id 17cByk-0001mb-00; Tue, 06 Aug 2002 23:34:58 +0200 Date: Tue, 6 Aug 2002 23:34:58 +0200 From: Artur Pietruk To: Darren McClelland Cc: pgsql-admin@postgresql.org Subject: Re: Automated database backups and authentication Message-ID: <20020806213458.GF996@yoda.plukwa.net> References: <20020806181501.58BFD475835@postgresql.org> <20020806143043.T29630@mail.libertyrms.com> <20020806183903.52622475B07@postgresql.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020806183903.52622475B07@postgresql.org> User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/47 X-Sequence-Number: 5162 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 pg_dumpall. Go and check pgsql-admin list archives - I remember that lately PG developers stated that PGPASSWORD variable may not be available in the next PG release - but in that case there will be other way to give password. Also check online docs: http://www.postgresql.org/idocs/index.php?libpq-envars.html. OR: - you can try to pass password to pg_dumpall through tricks like: "echo mypass | pg_dumpall .... " Best regards, -- --- Artur Pietruk, arturp@plukwa.net