From: Lamar Owen <lamar.owen@wgcr.org>
To: Dr. Hans-Christian Waldmann <waldmann@samson.fire.uni-bremen.de>
Cc: pgsql-admin@postgresql.org
Cc: silvan@goemon.polito.it
Subject: Re: psql -U postgres does not require a password
Date: Mon, 06 Nov 2000 11:44:36 -0500
Message-ID: <3A06DFF4.5E39803D@wgcr.org> (raw)
References: <200011061137.eA6Bbxr27432@samson.fire.uni-bremen.de>
"Dr. Hans-Christian Waldmann" wrote:
> which is _external_ to the database. I could imagine that your migration
> install has simply overwritten the external file while preserving internal
> tables. A default pg_hba.conf leads to the behavior described: anyone can
> access any database with just a username. So please chekc this file.
The upgrade procedure calls for a dump, then an initdb (done by the
startup script), then a restore.
The passwords, etc, are dumped and restored -- but pg_hba.conf is not
copied in any way. The initdb would in fact overwrite this file --
which, if the recommendations in the upgrade docs (README.rpm) were
followed, there should be a copy of that file in the backup directory.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
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: lamar.owen@wgcr.org, waldmann@samson.fire.uni-bremen.de, silvan@goemon.polito.it
Subject: Re: psql -U postgres does not require a password
In-Reply-To: <3A06DFF4.5E39803D@wgcr.org>
References: <200011061137.eA6Bbxr27432@samson.fire.uni-bremen.de> <3A06DFF4.5E39803D@wgcr.org>
* 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