Re: Creating DB with pass, but pass not required to connect

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pablo Gosse" <gossep(at)unbc(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Creating DB with pass, but pass not required to connect
Date: 2004-11-09 21:38:08
Message-ID: 5373.1100036288@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Pablo Gosse" <gossep(at)unbc(dot)ca> writes:
> However, when I connect to this database via a php script, I can enter
> any valid database user, and I can enter anything for the password (or
> leave it blank), and I'm still able to connect.

Sounds like you don't have pg_hba.conf configured to demand password
authentication. See
http://www.postgresql.org/docs/7.4/static/client-authentication.html

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brian Edmonds 2004-11-09 21:38:46 Re: Important Info on comp.databases.postgresql.general
Previous Message ru.igarashi 2004-11-09 21:37:43 Re: Important Info on comp.databases.postgresql.general