From: Tom Lane <tgl@sss.pgh.pa.us>
To: Denny-Schierz <cuall@gmx.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Linux user www-data has no access to amphora2 DB
Date: Mon, 22 Apr 2002 13:56:44 -0400
Message-ID: <17714.1019498204@sss.pgh.pa.us> (raw)
In-Reply-To: <19237774917.20020422193259@gmx.de>
References: <19237774917.20020422193259@gmx.de>
Denny-Schierz <cuall@gmx.de> 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
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: tgl@sss.pgh.pa.us, cuall@gmx.de
Subject: Re: Linux user www-data has no access to amphora2 DB
In-Reply-To: <17714.1019498204@sss.pgh.pa.us>
References: <19237774917.20020422193259@gmx.de> <17714.1019498204@sss.pgh.pa.us>
* 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