Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzubH-00020E-R8 for pgsql-general@arkaria.postgresql.org; Sun, 05 Jan 2014 20:47:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VzubH-0003er-4m for pgsql-general@arkaria.postgresql.org; Sun, 05 Jan 2014 20:47:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzubF-0003ej-Lt for pgsql-general@postgresql.org; Sun, 05 Jan 2014 20:47:09 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzubD-0005dd-0G for pgsql-general@postgresql.org; Sun, 05 Jan 2014 20:47:09 +0000 Received: by mail-pa0-f50.google.com with SMTP id kp14so15970291pab.9 for ; Sun, 05 Jan 2014 12:47:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=JB9tiHyXQ6PARQbRK9ldcJuLpMtiARd36l5alGgG1Wg=; b=slun1E7ln51E67flvpB8Syer16SbUESJVnf8aT5ULAdZEsx37WxJduPuAtFDFviSBR bAPSD/XLywiOneqfPCn9W0HvOxuOvUAFd4J96bCit6JuyzwmeMrSWHfKQuzI/UOkiDPB rZo+rDmYT8xUkTRpX+UxTGaR5ZxAUJ87AbJMbWbxvBygq1URDN4vZFWyS4+NDNGP6rS3 9S49nk9Yqz2MWV1JflCezCfyga//DU5dBT5YhdV0C8V7lss50pIP91VbUnWL9Z8+t5UA 8bolTI6tn7BC4GxKmdENz2AigZIWpP7EY5Ao00NRXZyy/kswW2zOPKOC6Sn7jgwzQTeM 0pqg== X-Received: by 10.68.194.97 with SMTP id hv1mr65990pbc.162.1388954824972; Sun, 05 Jan 2014 12:47:04 -0800 (PST) Received: from panda.site (174-21-132-251.tukw.qwest.net. [174.21.132.251]) by mx.google.com with ESMTPSA id ic7sm123810664pbc.29.2014.01.05.12.47.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 05 Jan 2014 12:47:03 -0800 (PST) Message-ID: <52C9C4C6.8020809@gmail.com> Date: Sun, 05 Jan 2014 12:47:02 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Jayadevan M CC: Tom Lane , dinesh kumar , "pgsql-general@postgresql.org" Subject: Re: authentication failure References: <52C6C8EE.7060207@gmail.com> <9602.1388761635@sss.pgh.pa.us> <52C8252C.5050602@gmail.com> <52C97B38.8010402@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 01/05/2014 07:47 AM, Jayadevan M wrote: > With md5 > psql > psql: FATAL: password authentication failed for user "postgres" > > with trust > psql -h localhost > psql (9.3.2) > Type "help" for help. > > back to md5 > psql -h localhost > psql: FATAL: password authentication failed for user "postgres" > > But... > > find / -name .pgpass > > > $ env | grep PG > PGPORT=1234 > PGUSER=postgres > PGHOST=localhost > > So the env is from the root account in the chroot? Is it the same as the postgres account? The only suggestion I have left is to look at the chroot setup. See Toms post for another suggestion. -- Adrian Klaver adrian.klaver@gmail.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general