pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Denny-Schierz <cuall@gmx.de>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Linux user www-data has no access to amphora2 DB
Date: Tue, 23 Apr 2002 09:44:24 +0200
Message-ID: <852747751.20020423094424@gmx.de> (raw)
In-Reply-To: <17714.1019498204@sss.pgh.pa.us>
References: <19237774917.20020422193259@gmx.de>
	<17714.1019498204@sss.pgh.pa.us>

Guten Tag Tom Lane,

Am Montag, 22. April 2002 um 19:56 schrieben Sie:

TL> 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

TL> Did you provide an ident map called amphora?  If so, what users does it
TL> accept?

TL> I suspect you really want to remove that first pg_hba line, and let the
TL> "ident sameuser" policy apply to local connections to all databases.

TL>                         regards, tom lane

 i did only this, what stands in the INSTALL (
 http://devel.itmeedia.ee/beta/INSTALL ) from amphopra, i never
 used postgres before. If i'm understand  the pg_ident.conf, it maps
 from the www-data user (unix user) to the amphora user (postgres in
 template 1). So i think, that the postgres user amphora has no rights
 to the amphora2DB, allright? How can i resolve it.?

 cu

-- 
Mit freundlichen GrĂ¼ssen
Denny-Schierz                            mailto:cuall@gmx.de




view thread (5+ messages)

Message-ID: <852747751.20020423094424@gmx.de>
Permalink:  ../852747751.20020423094424@gmx.de/
Also on:    postgresql.org/message-id/852747751.20020423094424@gmx.de

 · 

reply

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: cuall@gmx.de
  Subject: Re: Linux user www-data has no access to amphora2 DB
  In-Reply-To: <852747751.20020423094424@gmx.de>
  References: <19237774917.20020422193259@gmx.de> <17714.1019498204@sss.pgh.pa.us> <852747751.20020423094424@gmx.de>

* 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