Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by postgresql.org (Postfix) with ESMTP id 7C9E9475873 for ; Mon, 22 Jul 2002 07:05:25 -0400 (EDT) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 17Wb0J-000BMu-0U; Mon, 22 Jul 2002 12:05:27 +0100 Received: from localhost ([127.0.0.1] helo=localhost.localdomain ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 17Wb0L-00058v-00; Mon, 22 Jul 2002 12:05:29 +0100 Subject: Re: usernames and passwords From: Oliver Elphick To: Vicente Vives Cc: pgsql-admin@postgresql.org In-Reply-To: <3D3BDB95.EE5F991F@aimplas.es> References: <3D3BDB95.EE5F991F@aimplas.es> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 22 Jul 2002 12:05:28 +0100 Message-Id: <1027335929.16952.51.camel@linda> Mime-Version: 1.0 X-Archive-Number: 200207/297 X-Sequence-Number: 4981 On Mon, 2002-07-22 at 11:16, Vicente Vives wrote: > > Hi . > I have a server running PostgreSQL Version 6.5, and i have a problem. > I grant some distinct privileges to some users (and that works). The > problem > is that those users can log in with any password. Each user has a > password > assigned but not matter the password the user use to log in, if the user > exists always will get access to the database. Look at $PGDATA/pg_hba.conf This self-documenting file contains the access parameters. Incidentally, version 6.5 is very old and buggy. You should consider upgrading to the current version, 7.2.1 -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "Then Peter and the other apostles answered and said, We ought to obey God rather than men." Acts 5:29