Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6A4C29FB7A1 for ; Wed, 4 Apr 2007 18:44:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 61532-03 for ; Wed, 4 Apr 2007 18:44:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from glacier.frostconsultingllc.com (glacier.frostconsultingllc.com [64.127.99.90]) by postgresql.org (Postfix) with ESMTP id 54FC69FB704 for ; Wed, 4 Apr 2007 18:44:38 -0300 (ADT) Received: from localhost ([127.0.0.1]:43546) by glacier.frostconsultingllc.com with esmtp (Exim 4.66) (envelope-from ) id 1HZDHQ-0001aI-Ex; Wed, 04 Apr 2007 14:44:36 -0700 Date: Wed, 4 Apr 2007 14:44:36 -0700 (PDT) From: Jeff Frost To: Dave Lazar cc: pgsql-admin@postgresql.org Subject: Re: security question In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jeff@frostconsultingllc.com X-SA-Exim-Scanned: No (on glacier.frostconsultingllc.com); SAEximRunCond expanded to false X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/43 X-Sequence-Number: 25107 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 Frost Consulting, LLC http://www.frostconsultingllc.com/ Phone: 650-780-7908 FAX: 650-649-1954