Re: usernames and passwords - Mailing list pgsql-admin

From Ross J. Reedstrom
Subject Re: usernames and passwords
Date
Msg-id 20020722145025.GA13996@rice.edu
Whole thread Raw
In response to usernames and passwords  (Vicente Vives <vvives@telepolis.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: "Marc Mitchell"
Date:
Subject: Re: using an index with like-operator
Next
From: Mark Worsdall
Date:
Subject: Install Error during gmake (hba.c:885: storage size of `peercred' isn't known )