From: Karsten Hilbert <Karsten.Hilbert@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: "peer" authentication: cannot make "pg_ident.conf" work as I believe that the doc says that it should
Date: Sun, 30 Oct 2022 17:11:52 +0100
Message-ID: <Y16iSEzxhi9uiIhp@hermes.hilbert.loc> (raw)
In-Reply-To: <C5AE5E6F-C584-42C9-A871-FD992BDB021C@yugabyte.com>
References: <9801E977-425C-41BF-B024-19BC875940C0@icloud.com>
<b6bc9855-a4bb-d9a3-a60e-bf3bf6be9332@aklaver.com>
<C5AE5E6F-C584-42C9-A871-FD992BDB021C@yugabyte.com>
Am Sat, Oct 29, 2022 at 08:20:50PM -0700 schrieb Bryn Llewellyn:
> For the purpose of the tests that follow, I set up the O/S users "bob" and "mary" so that "id bob mary postgres" shows this:
>
> id=1002(bob) gid=1001(postgres) groups=1001(postgres)
> uid=1003(mary) gid=1001(postgres) groups=1001(postgres)
> uid=1001(postgres) gid=1001(postgres) groups=1001(postgres),27(sudo),114(ssl-cert)
>
> And I set up the cluster-roles "bob" and "mary" so that "\du" shows this:
>
> bob | | {}
> mary | | {}
> postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
Just a hint: you may want to use "mary_os" and "mary_db",
respectively, such that error messages can become less
ambivalent... (same for bob*).
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
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: Karsten.Hilbert@gmx.net
Subject: Re: "peer" authentication: cannot make "pg_ident.conf" work as I believe that the doc says that it should
In-Reply-To: <Y16iSEzxhi9uiIhp@hermes.hilbert.loc>
References: <9801E977-425C-41BF-B024-19BC875940C0@icloud.com> <b6bc9855-a4bb-d9a3-a60e-bf3bf6be9332@aklaver.com> <C5AE5E6F-C584-42C9-A871-FD992BDB021C@yugabyte.com> <Y16iSEzxhi9uiIhp@hermes.hilbert.loc>
* 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