pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: Vicente Vives <vicent@aimplas.es>
Cc: pgsql-admin@postgresql.org
Subject: Re: usernames and passwords
Date: 22 Jul 2002 12:05:28 +0100
Message-ID: <1027335929.16952.51.camel@linda> (raw)
In-Reply-To: <3D3BDB95.EE5F991F@aimplas.es>
References: <3D3BDB95.EE5F991F@aimplas.es>

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 




view thread (7+ messages)  latest in thread

Message-ID: <1027335929.16952.51.camel@linda>
Permalink:  ../1027335929.16952.51.camel@linda/
Also on:    postgresql.org/message-id/1027335929.16952.51.camel@linda

 · 

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: olly@lfix.co.uk, vicent@aimplas.es
  Subject: Re: usernames and passwords
  In-Reply-To: <1027335929.16952.51.camel@linda>
  References: <3D3BDB95.EE5F991F@aimplas.es> <1027335929.16952.51.camel@linda>

* 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