Re: Need linux uid in pg-psql

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: Need linux uid in pg-psql
Дата
Msg-id CAKt_ZfuJZEbifyHfE_kVzg4YsxLcKcFwCBROaybNM6xx=gG0Dw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Need linux uid in pg-psql  (Alan Hodgson <ahodgson@simkin.ca>)
Список pgsql-general
On Fri, Aug 19, 2011 at 8:40 AM, Alan Hodgson <ahodgson@simkin.ca> wrote:
> On August 19, 2011 07:01:33 AM Gauthier, Dave wrote:
>> Is there a way to get the linux idsid of a user, even for a remote network
>> connection?
>>
>> I could write a pg-perlu to get this, but I suspect it won't give me the
>> original user when there's a remote connect.
>>
>> Thanks for any suggestions !
>
> There's an identd protocol for this. It's not commonly used anymore, and when
> present tends to deliberately obscure the results.
>
Couldn't you use client ssl certs for authentication and encode the
data there in the cert?

Best Wishes,
Chris Travers

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: altering foreign key without a table scan
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Need linux uid in pg-psql