Logging on without prompt for password

From: "Rossi, Maria" <maria(dot)rossi(at)jackson(dot)com>
To: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Logging on without prompt for password
Date: 2015-10-20 14:38:27
Message-ID: c30f3796621147e2940b48745b5acb63@DC01PXMBP007.jacksonnational.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

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.

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

This id will be used for automated scanning and needs to run pg_dumpall.

Thanks.

Maria A Rossi
Database Administration
PGDS (US)
email: maria(dot)rossi(at)us(dot)pgds(dot)com<mailto:maria(dot)rossi(at)us(dot)pgds(dot)com>
cell phone: 517.256.4392
work phone: 517.367.3099
work phone extension: 23099

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Will McCormick 2015-10-20 16:00:59 Re: Logging on without prompt for password
Previous Message Craig James 2015-10-20 14:23:16 Re: Handling peak WAL data on the hot standby