pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ross J. Reedstrom <reedstrm@rice.edu>
To: Vicente Vives <vvives@telepolis.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: usernames and passwords
Date: Mon, 22 Jul 2002 09:50:26 -0500
Message-ID: <20020722145025.GA13996@rice.edu> (raw)
In-Reply-To: <200207191456.41728.vvives@telepolis.com>
References: <200207191456.41728.vvives@telepolis.com>

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



view thread (7+ messages)

Message-ID: <20020722145025.GA13996@rice.edu>
Permalink:  ../20020722145025.GA13996@rice.edu/
Also on:    postgresql.org/message-id/20020722145025.GA13996@rice.edu

 · 

reply

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: reedstrm@rice.edu, vvives@telepolis.com
  Subject: Re: usernames and passwords
  In-Reply-To: <20020722145025.GA13996@rice.edu>
  References: <200207191456.41728.vvives@telepolis.com> <20020722145025.GA13996@rice.edu>

* 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