From: Tom Lane <tgl@sss.pgh.pa.us>
To: saket bansal <saket.tcs@gmail.com>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: Noinheritance with superuser
Date: Thu, 03 Jun 2021 23:59:12 -0400
Message-ID: <118646.1622779152@sss.pgh.pa.us> (raw)
In-Reply-To: <CACkcRNgO5fPXQnwZwSgvDgbCX2Vum-NkTVYPBK=jnhFsgnQSaw@mail.gmail.com>
References: <CACkcRNgO5fPXQnwZwSgvDgbCX2Vum-NkTVYPBK=jnhFsgnQSaw@mail.gmail.com>
saket bansal <saket.tcs@gmail.com> writes:
> I have an RDS instance with the below configuration.
> create role role1 login noinheritance;
> grant rds_superuser to rdsdba;
> grant rdsdba to role1
> In this case role1 is able to do all administrative operations, without the
> need of switching to rdsdba.
> Is this expected?
rds_superuser is not a thing that exists in community Postgres.
I'd suggest taking this question up with the Amazon RDS folk.
regards, tom lane
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: tgl@sss.pgh.pa.us, saket.tcs@gmail.com
Subject: Re: Noinheritance with superuser
In-Reply-To: <118646.1622779152@sss.pgh.pa.us>
References: <CACkcRNgO5fPXQnwZwSgvDgbCX2Vum-NkTVYPBK=jnhFsgnQSaw@mail.gmail.com> <118646.1622779152@sss.pgh.pa.us>
* 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