Re: Linux user www-data has no access to amphora2 DB

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Linux user www-data has no access to amphora2 DB
Дата
Msg-id
17714.1019498204@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Linux user www-data has no access to amphora2 DB Denny-Schierz <cuall@gmx.de>
Re: Linux user www-data has no access to amphora2 DB David Stanaway <david@stanaway.net>
Re: Linux user www-data has no access to amphora2 DB Tom Lane <tgl@sss.pgh.pa.us>
Re: Linux user www-data has no access to amphora2 DB Denny-Schierz <cuall@gmx.de>
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
В списке pgsql-admin по дате отправления
От: David Stanaway
Дата:
От: Nick Fankhauser
Дата:
Сообщение: Re: An Analyze question
FAQ