pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christophe Labouisse <labouiss@cybercable.fr>
To: pgsql-sql@postgresql.org
Subject: pg_dumpall and password access
Date: 04 Apr 2001 00:47:23 +0200
Message-ID: <m266gliosk.fsf@gabuzo.meunet> (raw)

I'm trying to run pg_dumpall to backup all my users' bases but since I
have configure pg_hba.conf to "passwd" pg_dumpall always fails:

su-2.03$ pg_dumpall >backup.dat # I'm the postgres unix user.
Password: psql: Password authentication failed for user 'postgres'
Password: psql: Password authentication failed for user 'postgres'
Password: psql: Password authentication failed for user 'postgres'
# I type my password on the next line
Password: Password: psql: Password authentication failed for user 'postgres'
Connection to database 'sympa' failed.
fe_sendauth: no password supplied

pg_dump failed on sympa, exiting


I need to have a password identification since I don't want the
"common" users to be able to connect to any database. Beside I cannot
leave the "local" to the "trust" auth scheme because every users are
able to run programs on the machine hosting the database.

Is there any configuration tips or workaround known for my problem ?


-- 
Le cinéma en Lumière : http://www.lumiere.org/
Fingerprint : 4721 651D D309 B302 93E4  5D73 CC52 DF3A E7C7 86CF



view thread (4+ messages)  latest in thread

Message-ID: <m266gliosk.fsf@gabuzo.meunet>
Permalink:  ../m266gliosk.fsf@gabuzo.meunet/
Also on:    postgresql.org/message-id/m266gliosk.fsf@gabuzo.meunet

 · 

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-sql@postgresql.org
  Cc: labouiss@cybercable.fr
  Subject: Re: pg_dumpall and password access
  In-Reply-To: <m266gliosk.fsf@gabuzo.meunet>
  References: <m266gliosk.fsf@gabuzo.meunet>

* 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