Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id CC3AB4759D0 for ; Mon, 22 Apr 2002 13:56:57 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g3MHujF17717; Mon, 22 Apr 2002 13:56:45 -0400 (EDT) To: Denny-Schierz Cc: pgsql-admin@postgresql.org Subject: Re: Linux user www-data has no access to amphora2 DB In-reply-to: <19237774917.20020422193259@gmx.de> References: <19237774917.20020422193259@gmx.de> Comments: In-reply-to Denny-Schierz message dated "Mon, 22 Apr 2002 19:32:59 +0200" Date: Mon, 22 Apr 2002 13:56:44 -0400 Message-ID: <17714.1019498204@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200204/206 X-Sequence-Number: 4094 Denny-Schierz writes: > testlinux:/home/amphora2/inst# su www-data -s /bin/bash -c 'psql amphora2 < amphora2.0.dump' > psql: FATAL 1: IDENT authentication failed for user "www-data" > local amphora2 ident amphora > local all ident sameuser > host all 127.0.0.1 255.0.0.0 ident sameuser > host all 0.0.0.0 0.0.0.0 reject Did you provide an ident map called amphora? If so, what users does it accept? I suspect you really want to remove that first pg_hba line, and let the "ident sameuser" policy apply to local connections to all databases. regards, tom lane