Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 0797B635A4E for ; Fri, 27 Mar 2009 20:33:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 15847-01 for ; Fri, 27 Mar 2009 20:33:17 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from n70.bullet.mail.sp1.yahoo.com (n70.bullet.mail.sp1.yahoo.com [98.136.44.38]) by mail.postgresql.org (Postfix) with SMTP id 5F3A6635A2B for ; Fri, 27 Mar 2009 20:33:22 -0300 (ADT) Received: from [216.252.122.216] by n70.bullet.mail.sp1.yahoo.com with NNFMP; 27 Mar 2009 23:33:20 -0000 Received: from [69.147.65.165] by t1.bullet.sp1.yahoo.com with NNFMP; 27 Mar 2009 23:33:20 -0000 Received: from [127.0.0.1] by omp500.mail.sp1.yahoo.com with NNFMP; 27 Mar 2009 23:33:20 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 341105.37957.bm@omp500.mail.sp1.yahoo.com Received: (qmail 13438 invoked by uid 60001); 27 Mar 2009 23:33:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1238196800; bh=GUK7LXqxImqBWkJiTZVlAtc9fQPkHMLMm9HcHc1lh1I=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=yTe/P3yujEoE3lA5qRzpr87PuepAGYAfNvASg/WEd6naF3L9m+julZr85lC5LNqQxKQTiB0nvGAWdChmKCHBufrHc+1JyGiOrUUNppVkchBDCDJ3DN9cV6DwwNSx++9eK1507oIbP8pwoUj0zj0Jx5FfNi/sD2Rt3Ynsm6LneBs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=3hcyMe/dgvzMi0DWqkegZ0Xn46iGesH0kEMNSOmvo9HZe3EuHBiKt/rmlX6xAuBLZ/yZvzk4RvNfaUPjswMm29nMOvbnycll9sfqrbPkr9s4uo6VTqmiudhgRsmWiP7161IEC1ixqVnhHcNRnVvVggPcJ7ZKGnCwv46U/okPvrQ=; Message-ID: <213541.11913.qm@web43403.mail.sp1.yahoo.com> X-YMail-OSG: l_TjTT4VM1l_7UZFu0L7HcGlztaFt0aTdFM4soBk1kn1CGp39i65wka18eROibiJ_4S_d9HOPcn6EYLvUyVbUGREh7HU9jiLa7DTulxas2000Rqsf5MHPKyjcMPgIU16xMyc1KAZv1bhaUQ01TIUZbLsULvT1gDslXigz2Kkyws249ma2FKvgBeY6iy1AJ.jsT.Y2qSc83FEmDhQ9TJiNYCUsiL_z12wD_EHNFAsunCbtxpj Received: from [216.254.18.193] by web43403.mail.sp1.yahoo.com via HTTP; Fri, 27 Mar 2009 16:33:19 PDT X-Mailer: YahooMailRC/1277.32 YahooMailWebService/0.7.289.1 References: <218848.40985.qm@web43403.mail.sp1.yahoo.com> <49CD5DBD.2080908@gmx.de> Date: Fri, 27 Mar 2009 16:33:19 -0700 (PDT) From: Newbie Poster Subject: Re: Logging in with postgres remotely To: PGSQL Admin In-Reply-To: <49CD5DBD.2080908@gmx.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-221948249-1238196799=:11913" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200903/242 X-Sequence-Number: 31742 --0-221948249-1238196799=:11913 Content-Type: text/plain; charset=us-ascii Thanks for the response. I was able to get postgres user to connect to the remote database by using the 'alter user' command from within psql. However, I am unable to connect to the same server with a different user. I created a generic user called pgAdmin and used the command: grant all privileges on database clients to user pgAdmin I am certain I know that users password yet I cannot connect with it from my workstation. Do you think the pgpass file will help in this instance? ________________________________ From: Jan-Peter Seifert To: Newbie Poster Sent: Friday, March 27, 2009 4:14:05 PM Subject: Re: [ADMIN] Logging in with postgres remotely Newbie Poster wrote: > Error connecting to the server: FATAL: password authentication failed > for user "postgres" Sounds like a hunt for the pgpass file is recommended: http://www.postgresql.org/docs/8.3/interactive/libpq-pgpass.html Peter --0-221948249-1238196799=:11913 Content-Type: text/html; charset=us-ascii
Thanks for the response. I was able to get postgres user to connect to the remote database by using the 'alter user' command from within psql.  However, I am unable to connect to the same server with a different user.  I created a generic user called pgAdmin and used the command:

grant all privileges on database clients to user pgAdmin

I am certain I know that users password yet I cannot connect with it from my workstation. Do you think the pgpass file will help in this instance?


From: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
To: Newbie Poster <newbie.poster@yahoo.com>
Sent: Friday, March 27, 2009 4:14:05 PM
Subject: Re: [ADMIN] Logging in with postgres remotely

Newbie Poster wrote:

>  Error connecting to the server: FATAL:  password authentication failed
> for user "postgres"

Sounds like a hunt for the pgpass file is recommended:

http://www.postgresql.org/docs/8.3/interactive/libpq-pgpass.html

Peter

--0-221948249-1238196799=:11913--