Re: Creating DB with pass, but pass not required to connect - Mailing list pgsql-general

From Tom Lane
Subject Re: Creating DB with pass, but pass not required to connect
Date
Msg-id 5373.1100036288@sss.pgh.pa.us
Whole thread Raw
In response to Creating DB with pass, but pass not required to connect  ("Pablo Gosse" <gossep@unbc.ca>)
List pgsql-general
"Pablo Gosse" <gossep@unbc.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: server auto-restarts and ipcs
Next
From: "Ed L."
Date:
Subject: Re: server auto-restarts and ipcs