Received: from ece.rice.edu (ece.rice.edu [128.42.4.34]) by postgresql.org (Postfix) with ESMTP id 006A0474E4E for ; Mon, 22 Jul 2002 10:50:24 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by ece.rice.edu (Postfix) with ESMTP id 12A3968A73; Mon, 22 Jul 2002 09:50:28 -0500 (CDT) Received: from wallace.ece.rice.edu (wallace.ece.rice.edu [128.42.12.154]) by ece.rice.edu (Postfix) with ESMTP id 7BCC768A6C; Mon, 22 Jul 2002 09:50:26 -0500 (CDT) Received: from reedstrm by wallace.ece.rice.edu with local (Exim 3.34 #1 (Debian)) id 17WeW2-0003es-00; Mon, 22 Jul 2002 09:50:26 -0500 Date: Mon, 22 Jul 2002 09:50:26 -0500 From: "Ross J. Reedstrom" To: Vicente Vives Cc: pgsql-admin@postgresql.org Subject: Re: usernames and passwords Message-ID: <20020722145025.GA13996@rice.edu> Mail-Followup-To: "Ross J. Reedstrom" , Vicente Vives , pgsql-admin@postgresql.org References: <200207191456.41728.vvives@telepolis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207191456.41728.vvives@telepolis.com> User-Agent: Mutt/1.3.27i X-Virus-Scanned: by AMaViS snapshot-20020300 X-Archive-Number: 200207/311 X-Sequence-Number: 4995 On Fri, Jul 19, 2002 at 02:56:41PM +0200, 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 user 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. > > Has anybony an idea? > Any response will be wellcome. Check your pg_hba.conf setting for that host. Sounds like you've got the last column set to 'trust'. Change it to 'crypt' is your most likely solution. Check your docs. Oh, and start planning your upgrade: 6.5 is getting to be very old code, as is definitely not supported. Any bugs you hit will probably already be fixed in 7.X, and there's lots of new features, too! Ross