Thread: no password required

no password required

From
"Ricardo Sardano Guanciale"
Date:
Hi for all!

When I restore my database I found following problem:

Any user can connect to my database without type the currect password.

How can I solve this problem?

Thanks in advance and best regards,

Sardano


Re: no password required

From
Stephan Szabo
Date:
On Sun, 20 Apr 2003, Ricardo Sardano Guanciale wrote:

> Hi for all!
>
> When I restore my database I found following problem:
>
> Any user can connect to my database without type the currect password.
>
> How can I solve this problem?

Best guess is that you've got lines in your pg_hba.conf file that
list the trust authentication mechanism.  You'll want to change those to
something else (depending on what mechanims you want to use).