pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psql asks for password despite configuring trust authentication
3+ messages / 3 participants
[nested] [flat]

* psql asks for password despite configuring trust authentication
@ 2020-10-29 17:59  Atul Kumar <akumar14871@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Atul Kumar @ 2020-10-29 17:59 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

hi,

My problem is, that I am always asked for password when trying to
interact with the database or access it, although the authentication
is set to trust for all users and databases.

Please help.



Regards,
Atul





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: psql asks for password despite configuring trust authentication
@ 2020-10-29 18:02  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Atul Kumar <akumar14871@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Adrian Klaver @ 2020-10-29 18:02 UTC (permalink / raw)
  To: Atul Kumar <akumar14871@gmail.com>; pgsql-general <pgsql-general@lists.postgresql.org>

On 10/29/20 10:59 AM, Atul Kumar wrote:
> hi,
> 
> My problem is, that I am always asked for password when trying to
> interact with the database or access it, although the authentication
> is set to trust for all users and databases.

What is the connection command you are using?

Did you reload the server after making changes to pg_hba.conf?

Are you sure you are pointing at the right database?

What are the contents of your pg_hba.conf file?

> 
> Please help.
> 
> 
> 
> Regards,
> Atul
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: psql asks for password despite configuring trust authentication
@ 2020-10-29 19:07  Ganesh Korde <ganeshakorde@gmail.com>
  parent: Atul Kumar <akumar14871@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Ganesh Korde @ 2020-10-29 19:07 UTC (permalink / raw)
  To: Atul Kumar <akumar14871@gmail.com>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>

Please make sure you are not using -w option while connecting through psql.

On Thu, 29 Oct 2020, 11:30 pm Atul Kumar, <akumar14871@gmail.com> wrote:

> hi,
>
> My problem is, that I am always asked for password when trying to
> interact with the database or access it, although the authentication
> is set to trust for all users and databases.
>
> Please help.
>
>
>
> Regards,
> Atul
>
>
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2020-10-29 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 17:59 psql asks for password despite configuring trust authentication Atul Kumar <akumar14871@gmail.com>
2020-10-29 18:02 ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-10-29 19:07 ` Ganesh Korde <ganeshakorde@gmail.com>

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