Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8270E4753A1 for ; Tue, 6 Aug 2002 18:00:18 -0400 (EDT) Received: from ecint.ecinet.com (smtp.eldocomp.com [205.159.99.3]) by postgresql.org (Postfix) with ESMTP id DCF8A47511A for ; Tue, 6 Aug 2002 18:00:17 -0400 (EDT) Received: from CHAD-WIN (chad-win.ecinet.com [192.168.22.228]) by ecint.ecinet.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id QL73QPGJ; Tue, 6 Aug 2002 15:00:19 -0700 Message-Id: <4.2.2.20020806145733.00ab4870@ecint.ecinet.com> X-Sender: clarson@ecint.ecinet.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 06 Aug 2002 15:00:17 -0700 To: Artur Pietruk , Darren McClelland From: "Chad R. Larson" Subject: Re: Automated database backups and authentication Cc: pgsql-admin@postgresql.org In-Reply-To: <20020806213458.GF996@yoda.plukwa.net> References: <20020806183903.52622475B07@postgresql.org> <20020806181501.58BFD475835@postgresql.org> <20020806143043.T29630@mail.libertyrms.com> <20020806183903.52622475B07@postgresql.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/49 X-Sequence-Number: 5164 At 02:34 PM 8/6/02 , Artur Pietruk wrote: >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. The problem with that is most UNIX systems are able to display the contents of the environment of a process. Some make it easier than others (on BSD systems, it is as easy as a switch on "ps") but most can do it. That was (I believe) the reason that the variable was going away in 7.3, because it is a security hole. -crl -- Chad R. Larson (CRL22) chad@eldocomp.com Eldorado Computing, Inc. 602-604-3100 5353 North 16th Street, Suite 400 Phoenix, Arizona 85016-3228