From: | Scott Mead <scottm(at)openscg(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:52:00 |
Message-ID: | CAKq0gvKFzkvyJqqp6YJ_Nfak0_rf8QBoCV=Pye0wG=PPYMVmgQ@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:
> 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.
>
You can enter a '*' in any field in .pgpass. So,
hostname:port:database:username:password
127.0.0.1:*:*:postgres:abc
Would authenticate the postgres user with pass: abc to any database on
any port on 127.0.0.1
--
Scott Mead
Sr. Architect
OpenSCG, inc
www.openscg.com
scottm(at)openscg(dot)com
>
>
> 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
> cell phone: 517.256.4392
>
> work phone: 517.367.3099
> work phone extension: 23099
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Rossi, Maria | 2015-10-20 17:44:21 | Re: Logging on without prompt for password |
Previous Message | Glauco Torres | 2015-10-20 16:18:50 | Re: Logging on without prompt for password |