Re: Security choices... - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Security choices...
Date
Msg-id 3.0.5.32.20000729023921.02700210@mail.rhyme.com.au
Whole thread Raw
In response to Re: Security choices...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Security choices...  (Malcolm Beattie <mbeattie@sable.ox.ac.uk>)
List pgsql-hackers
At 12:25 28/07/00 -0400, Tom Lane wrote:
>Philip Warner <pjw@rhyme.com.au> writes:
>> Is there any reason that a security model does not exist for psql that
>> allows Unix user 'fred' to log in as PG user 'fred' with no password etc,
>> but any user trying to log on as someone other than themselves has to
>> provide a password?
>
>Define "log in as themselves" --- in particular, how will you check?

I was thinking (in a very blinkered way) of client processes on the same
machine as the postmaster. Admitedly, I had not considered network access etc.

Even in this limited form, it does not seem too bad; is there a way the
postmaster can tell (a) the client is on the same machine, and (b) what the
process username is?


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Security choices...
Next
From: Philip Warner
Date:
Subject: Re: pg_dump & performance degradation