From: Ian Barwick <barwick@gmx.net>
To: Hans Huber <HansiHuber1@jet2web.cc>
To: pgsql-admin@postgresql.org
Subject: Re: Problem with Dump
Date: Fri, 23 Aug 2002 17:33:58 +0200
Message-ID: <200208231733.58837.barwick@gmx.net> (raw)
In-Reply-To: <3D6C9461@mail.jet2web.cc>
References: <3D6C9461@mail.jet2web.cc>
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
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
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: barwick@gmx.net, HansiHuber1@jet2web.cc
Subject: Re: Problem with Dump
In-Reply-To: <200208231733.58837.barwick@gmx.net>
References: <3D6C9461@mail.jet2web.cc> <200208231733.58837.barwick@gmx.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