Received: from www.wgcr.org (www.wgcr.org [206.74.232.194]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eA6GnPs09888 for ; Mon, 6 Nov 2000 11:49:25 -0500 (EST) (envelope-from lamar.owen@wgcr.org) Received: from wgcr.org ([10.1.2.1]) by www.wgcr.org (8.9.3/8.9.3/WGCR) with ESMTP id LAA10592; Mon, 6 Nov 2000 11:44:48 -0500 Message-ID: <3A06DFF4.5E39803D@wgcr.org> Date: Mon, 06 Nov 2000 11:44:36 -0500 From: Lamar Owen X-Mailer: Mozilla 4.73 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: "Dr. Hans-Christian Waldmann" CC: pgsql-admin@postgresql.org, silvan@goemon.polito.it Subject: Re: psql -U postgres does not require a password References: <200011061137.eA6Bbxr27432@samson.fire.uni-bremen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200011/30 X-Sequence-Number: 39 "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