pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Artur Pietruk <arturp@plukwa.pdi.net>
To: Darren McClelland <darren@zonarsystems.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Automated database backups and authentication
Date: Tue, 6 Aug 2002 23:34:58 +0200
Message-ID: <20020806213458.GF996@yoda.plukwa.net> (raw)
In-Reply-To: <20020806183903.52622475B07@postgresql.org>
References: <20020806181501.58BFD475835@postgresql.org>
	<20020806143043.T29630@mail.libertyrms.com>
	<20020806183903.52622475B07@postgresql.org>

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



view thread (12+ messages)  latest in thread

Message-ID: <20020806213458.GF996@yoda.plukwa.net>
Permalink:  ../20020806213458.GF996@yoda.plukwa.net/
Also on:    postgresql.org/message-id/20020806213458.GF996@yoda.plukwa.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: arturp@plukwa.pdi.net, darren@zonarsystems.com
  Subject: Re: Automated database backups and authentication
  In-Reply-To: <20020806213458.GF996@yoda.plukwa.net>
  References: <20020806181501.58BFD475835@postgresql.org> <20020806143043.T29630@mail.libertyrms.com> <20020806183903.52622475B07@postgresql.org> <20020806213458.GF996@yoda.plukwa.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox