Re: Wrong passwords allowed

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Atul Kumar <akumar14871(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Wrong passwords allowed
Date: 2023-06-29 01:01:35
Message-ID: 86241f9e-45c6-9a3b-5bf7-623308fcbda1@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/28/23 17:45, Atul Kumar wrote:
> Hi,
>
> I am having a strange issue that I have a postgres intance running on
> version 12 in centos 7.
>
> So whenever I am trying to login in the database using psql -W option, I
> am entering the wrong passwords for that user, even after that I am
> logging in the database.
>
> So could you help me in telling why is this strange behavior happening.
>
> It is taking any passwords for any user be it right password or wrong
> password.
>
> What could be the problem?

Not reading this:

https://www.postgresql.org/docs/current/auth-pg-hba-conf.html

and this:

https://www.postgresql.org/docs/current/auth-trust.html

or this:

https://www.postgresql.org/docs/current/auth-peer.html

>
>
> Regards.
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dominique Devienne 2023-06-29 08:07:22 Re: LibPQ: PQresultMemorySize as proxy to transfered bytes
Previous Message Atul Kumar 2023-06-29 00:45:15 Wrong passwords allowed