pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Frost <jeff@frostconsultingllc.com>
To: Dave Lazar <hunkybill@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: security question
Date: Wed, 4 Apr 2007 14:44:36 -0700 (PDT)
Message-ID: <Pine.LNX.4.64.0704041443260.32187@glacier.frostconsultingllc.com> (raw)
In-Reply-To: <e0d71d270704041341t5235975asa98a589ed84cd59d@mail.gmail.com>
References: <e0d71d270704041325h78978100rf782f60ac06c8e6a@mail.gmail.com>
	<Pine.LNX.4.64.0704041333500.32187@glacier.frostconsultingllc.com>
	<e0d71d270704041341t5235975asa98a589ed84cd59d@mail.gmail.com>

On Wed, 4 Apr 2007, Dave Lazar wrote:

>> Most likely psql is picking up the password from ~/.pgpass when run as
>> your
>> user.  Pgadmin3 stores passwords in .pgpass, so it's likely been put in
>> there
>> by pgadmin.  As a test - move .pgpass to .pgpass.old and try to connect
>> via
>> psql -U postgres -d myDataBase again.
>> 
>> 
> BINGO... thanks... first time I see .pgpass in action.. works like a
> charm... used to not work for me.. this is good :)

If it didn't work in the past, it was likely because of permissions problems. 
Pgadmin probably helpfully set the permissions properly for you when it 
created the file.

-- 
Jeff Frost, Owner 	<jeff@frostconsultingllc.com>
Frost Consulting, LLC 	http://www.frostconsultingllc.com/
Phone: 650-780-7908	FAX: 650-649-1954



view thread (5+ messages)

Message-ID: <Pine.LNX.4.64.0704041443260.32187@glacier.frostconsultingllc.com>
Permalink:  ../Pine.LNX.4.64.0704041443260.32187@glacier.frostconsultingllc.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.64.0704041443260.32187@glacier.frostconsultingllc.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jeff@frostconsultingllc.com, hunkybill@gmail.com
  Subject: Re: security question
  In-Reply-To: <Pine.LNX.4.64.0704041443260.32187@glacier.frostconsultingllc.com>
  References: <e0d71d270704041325h78978100rf782f60ac06c8e6a@mail.gmail.com> <Pine.LNX.4.64.0704041333500.32187@glacier.frostconsultingllc.com> <e0d71d270704041341t5235975asa98a589ed84cd59d@mail.gmail.com> <Pine.LNX.4.64.0704041443260.32187@glacier.frostconsultingllc.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