From: Rossi, Maria <maria.rossi@jackson.com>
To: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Logging on without prompt for password
Date: Tue, 20 Oct 2015 14:38:27 +0000
Message-ID: <c30f3796621147e2940b48745b5acb63@DC01PXMBP007.jacksonnational.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.rossi@us.pgds.com<mailto:maria.rossi@us.pgds.com>
cell phone: 517.256.4392
work phone: 517.367.3099
work phone extension: 23099
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: maria.rossi@jackson.com
Subject: Re: Logging on without prompt for password
In-Reply-To: <c30f3796621147e2940b48745b5acb63@DC01PXMBP007.jacksonnational.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