From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Atul Kumar <akumar14871@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Wrong passwords allowed
Date: Wed, 28 Jun 2023 18:01:35 -0700
Message-ID: <86241f9e-45c6-9a3b-5bf7-623308fcbda1@aklaver.com> (raw)
In-Reply-To: <CA+ONtZ5bkxW=PZrs_e=zQn9z=MKymqXGH_MCbj2bF7g3UcUcGw@mail.gmail.com>
References: <CA+ONtZ5bkxW=PZrs_e=zQn9z=MKymqXGH_MCbj2bF7g3UcUcGw@mail.gmail.com>
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.klaver@aklaver.com
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-general@postgresql.org
Cc: adrian.klaver@aklaver.com, akumar14871@gmail.com
Subject: Re: Wrong passwords allowed
In-Reply-To: <86241f9e-45c6-9a3b-5bf7-623308fcbda1@aklaver.com>
References: <CA+ONtZ5bkxW=PZrs_e=zQn9z=MKymqXGH_MCbj2bF7g3UcUcGw@mail.gmail.com> <86241f9e-45c6-9a3b-5bf7-623308fcbda1@aklaver.com>
* 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