pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc Ende <me@marc-ende.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_hba.conf / password, crypt,md5
Date: Mon, 02 Sep 2002 20:39:09 -0400
Message-ID: <28920.1031013549@sss.pgh.pa.us> (raw)
In-Reply-To: <17m12t-0Sp6qeC@fmrl01.sul.t-online.com>
References: <17m12t-0Sp6qeC@fmrl01.sul.t-online.com>

Marc Ende <me@marc-ende.de> writes:
> In the "old" pg_hba.conf I had the both lines in the pg_hba.conf:
> local	all					password
> host	all	127.0.0.1 255.255.255.255 password

That should still work ...

> now I've tried the same but now I can logon as a valid user with an
> invalid password.  Postgres now allows to login with any valid
> username without specifying a password.

Did you SIGHUP the postmaster after editing the pg_hba.conf file?
Are you sure you are editing the same file the postmaster is looking at?

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <28920.1031013549@sss.pgh.pa.us>
Permalink:  ../28920.1031013549@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28920.1031013549@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, me@marc-ende.de
  Subject: Re: pg_hba.conf / password, crypt,md5
  In-Reply-To: <28920.1031013549@sss.pgh.pa.us>
  References: <17m12t-0Sp6qeC@fmrl01.sul.t-online.com> <28920.1031013549@sss.pgh.pa.us>

* 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