From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | David Gauthier <davegauthierpg(at)gmail(dot)com> |
Cc: | "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Can I grant permissions to specific set of uids (linux) ? |
Date: | 2018-03-06 21:33:44 |
Message-ID: | CAKFQuwZfPphBimfb+gWFTQkiuV8zLT8iE8QzxLwUxBU6igtoQw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Mar 6, 2018 at 1:26 PM, David Gauthier <davegauthierpg(at)gmail(dot)com>
wrote:
> Hi:
>
> I'd like to grant select, insert, update, delete to a table for a specific
> set of uids (linux). All others get select only. Can the DB authenticate
> the current linux user and grant access based on the fact that they are
> logged in ()IOW, no passwords ? Is this possible ? If so, how ?
>
>
see
https://www.postgresql.org/docs/10/static/auth-methods.html#AUTH-PEER
Note it authenticates by the name, not the numeric value.
If that doesn't cover your need the answer to your question is probably no.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | pinker | 2018-03-07 01:59:01 | Re: dirty_ratio & dirty_background_ratio settings with huge memory |
Previous Message | Melvin Davidson | 2018-03-06 20:41:22 | Re: Can I grant permissions to specific set of uids (linux) ? |