Re: Need linux uid in pg-psql - Mailing list pgsql-general

From Tom Lane
Subject Re: Need linux uid in pg-psql
Date
Msg-id 8853.1313769297@sss.pgh.pa.us
Whole thread Raw
In response to Re: Need linux uid in pg-psql  (Alan Hodgson <ahodgson@simkin.ca>)
Responses Re: Need linux uid in pg-psql  ("Gauthier, Dave" <dave.gauthier@intel.com>)
List pgsql-general
Alan Hodgson <ahodgson@simkin.ca> writes:
> 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?

> There's an identd protocol for this. It's not commonly used anymore, and when
> present tends to deliberately obscure the results.

Not to mention that it's trivially faked, if the user has root on his
own machine.

            regards, tom lane

pgsql-general by date:

Previous
From: Chris Travers
Date:
Subject: Re: Need linux uid in pg-psql
Next
From: Tom Lane
Date:
Subject: Re: date_trunc - not sure what is wrong, but it confuses me.