Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6AAE9475C14 for ; Fri, 23 Aug 2002 11:32:35 -0400 (EDT) Received: from post.webmailer.de (natpost.webmailer.de [192.67.198.65]) by postgresql.org (Postfix) with ESMTP id 1602C475A8E for ; Fri, 23 Aug 2002 11:32:34 -0400 (EDT) Received: from ianb.local (pD9EB1BB2.dip.t-dialin.net [217.235.27.178]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id RAA01731; Fri, 23 Aug 2002 17:32:31 +0200 (MET DST) Content-Type: text/plain; charset="iso-8859-1" From: Ian Barwick To: Hans Huber , pgsql-admin@postgresql.org Subject: Re: Problem with Dump Date: Fri, 23 Aug 2002 17:33:58 +0200 X-Mailer: KMail [version 1.4] References: <3D6C9461@mail.jet2web.cc> In-Reply-To: <3D6C9461@mail.jet2web.cc> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200208231733.58837.barwick@gmx.net> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/283 X-Sequence-Number: 5397 On Friday 23 August 2002 10:14, Hans Huber wrote: > Hi! > > I have a problem with the pg_dumpall tool, > because when I set the password option in the pg_hba.conf file the > pg_dumpall always wants me to enter the password for every action the dump > does and this are a lot of times. > > Has anybody a solution for that? AFAIK utilities such as pg_dump prompt for the password but=20 won't accept it as a command line option, which makes password-based authentication almost unusable when calling these utilities from a script. (This is for security reasons, to avoid having plain text passwords in world or group readable files). For users connecting from the local machine who need to connect without entering a password I use ident-based authentication, see: http://www.postgresql.org/idocs/index.php?auth-methods.html > mfg ebenfalls Ian Barwick barwick@gmx.net