From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Securing records using linux grou permissions
Date: Sat, 19 Oct 2019 13:32:54 +0200
Message-ID: <20191019113254.GA18996@hjp.at> (raw)
In-Reply-To: <CAMBRECB=12dpQSREXmRHeeayXjY_FZG5cmNddetHsJBmqX52pg@mail.gmail.com>
References: <CAMBRECCQZTWTrnXJr8Sag7mbXTAbnKbH7gMXQu2qNfndbxutjg@mail.gmail.com>
<CAHOFxGoF5=MYCVoispmsGOyK1irsyjLiSm_=xsB4vAc7VC0BLw@mail.gmail.com>
<CAMBRECB=12dpQSREXmRHeeayXjY_FZG5cmNddetHsJBmqX52pg@mail.gmail.com>
On 2019-10-15 13:10:13 -0400, David Gauthier wrote:
> I was hoping there was a way to integrate the user/permissions/groups in linux
> with the PG permissions functionality.
You can at least map the OS users to DB roles by using the peer or ident
authentication schemes. This way the users won't have to enter their
passwords again. But I think this works only if the client and the
server are on the same host. And you still have to maintain the groups,
although that should be easy to automate.
hp
--
_ | Peter J. Holzer | we build much bigger, better disasters now
|_|_) | | because we have much more sophisticated
| | | hjp@hjp.at | management tools.
__/ | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/;
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: hjp-pgsql@hjp.at
Subject: Re: Securing records using linux grou permissions
In-Reply-To: <20191019113254.GA18996@hjp.at>
References: <CAMBRECCQZTWTrnXJr8Sag7mbXTAbnKbH7gMXQu2qNfndbxutjg@mail.gmail.com> <CAHOFxGoF5=MYCVoispmsGOyK1irsyjLiSm_=xsB4vAc7VC0BLw@mail.gmail.com> <CAMBRECB=12dpQSREXmRHeeayXjY_FZG5cmNddetHsJBmqX52pg@mail.gmail.com> <20191019113254.GA18996@hjp.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox