Re: Peer authentication problem in CGI-Perl

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Peer authentication problem in CGI-Perl
Дата
Msg-id 4488.1013649096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Peer authentication problem in CGI-Perl  (Oliver Elphick <olly@lfix.co.uk>)
Ответы Re: Peer authentication problem in CGI-Perl  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-novice
Oliver Elphick <olly@lfix.co.uk> writes:
> On Wed, 2002-02-13 at 17:28, arifin purba wrote:
>> "Peer authentication failed for user 'johndoe'"

> Unfortunately, I can't at the moment think of any reason why it should
> behave differently when passed though the Perl interface.

But it wasn't the Perl interface that was the issue; it was CGI.

I will bet that his CGI environment runs as some other user than he is,
and so the peer mechanism is doing exactly what it's supposed to do:
rejecting a false claim to be PG user so-and-so when the OS knows the
client process is owned by someone else.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: Peer authentication problem in CGI-Perl
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: Peer authentication problem in CGI-Perl