Re: Problem with Dump

From: Ian Barwick <barwick(at)gmx(dot)net>
To: Hans Huber <HansiHuber1(at)jet2web(dot)cc>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Problem with Dump
Date: 2002-08-23 15:33:58
Message-ID: 200208231733.58837.barwick@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)gmx(dot)net

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David F. Skoll 2002-08-23 15:47:54 Passwords and batch processes (was Re: Problem with Dump)
Previous Message Sub Director Sistemas Informaticos 2002-08-23 15:27:47 PAM authentication