pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raphael Bauduin <raphael@be.easynet.net>
To: pgsql-admin@postgresql.org
Subject: wrong password accepted
Date: Fri, 29 Aug 2003 15:12:40 +0200
Message-ID: <20030829131240.GA30354@raphael> (raw)

Hi,

this is a strange situation I just discovered on a postgresql
7.2.1-2woody2 (Debian as you can see...). I use pg_hba to specify
password ahtentications for clients. HEre's the line:
host         all         127.0.0.1    255.255.255.0       password  pass-file

I just discovered that when I use the correct password to whach I append
text, it is accepted (though this is not correct...)
For example, if my password is postgres, the following will also be
accepted: postgresql, postgresblabla, postgres2 ...... but it will
reject postgrex eg.

I couldn't reproduce it with postgres 7.3 (self compiled, the problem
above happens with the standard Debian package), but 7.3 doesn't seem to
use a file to store the password (didn't have time to look a lot at 7.3 :(.

Is this a known problem? Did I miss the answer when I browsed the web
and mail archives?

Thanks for your help.

Raph



view thread (3+ messages)  latest in thread

Message-ID: <20030829131240.GA30354@raphael>
Permalink:  ../20030829131240.GA30354@raphael/
Also on:    postgresql.org/message-id/20030829131240.GA30354@raphael

 · 

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: raphael@be.easynet.net
  Subject: Re: wrong password accepted
  In-Reply-To: <20030829131240.GA30354@raphael>
  References: <20030829131240.GA30354@raphael>

* 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