Re: Logging on without prompt for password

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "Rossi, Maria" <maria(dot)rossi(at)jackson(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Logging on without prompt for password
Date: 2015-10-20 16:07:22
Message-ID: CAKFQuwYCGZ5HS7DUKxZR_1aP1EQRXnT9JMmyiaE5-B25ScyMTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Oct 20, 2015 at 10:38 AM, Rossi, Maria <maria(dot)rossi(at)jackson(dot)com>
wrote:

>
> Is there a way of enabling a user to logon without being prompted for
> password? I know there is the .pgpass file, but this file requires the
> port# and my server has several postgres clusters with different port#.
> So, am not sure if I can use the .pgpass file.
>
>
In this situation you would have a single line for each cluster in the
.pgpass file.​

>
> And at the pg_hba.conf file, the id already has ‘trust’ method, but it is
> still being prompted for password.
>
>
>

We can give better advice if you provide the command line invocations you
are using.​

​David J.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rossi, Maria 2015-10-20 16:15:14 Re: Logging on without prompt for password
Previous Message Will McCormick 2015-10-20 16:00:59 Re: Logging on without prompt for password