Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fq32t-0006FJ-U7 for pgsql-admin@arkaria.postgresql.org; Wed, 15 Aug 2018 21:09:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fq32r-0007Gj-Tz for pgsql-admin@arkaria.postgresql.org; Wed, 15 Aug 2018 21:09:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fq32r-0007Gc-MD for pgsql-admin@lists.postgresql.org; Wed, 15 Aug 2018 21:09:33 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fq32o-0003tS-Dp for pgsql-admin@lists.postgresql.org; Wed, 15 Aug 2018 21:09:33 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1fq32k-0002J3-Jt; Wed, 15 Aug 2018 17:09:26 -0400 Date: Wed, 15 Aug 2018 17:09:26 -0400 From: Bruce Momjian To: Scott Ribe Cc: Evan Rempel , pgsql-admin@lists.postgresql.org Subject: Re: How to revoke privileged from PostgreSQL's superuser Message-ID: <20180815210926.GD5005@momjian.us> References: <20180814195919.GA29140@momjian.us> <20180815145912.GA11573@momjian.us> <10cde505-db4b-bbeb-7d8a-7c4e145c6042@uvic.ca> <20180815192838.GA5005@momjian.us> <20180815202646.GB5005@momjian.us> <20180815205758.GC5005@momjian.us> <25586049-C24B-4231-8179-714683AA4536@elevated-dev.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25586049-C24B-4231-8179-714683AA4536@elevated-dev.com> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Aug 15, 2018 at 03:03:41PM -0600, Scott Ribe wrote: > > On Aug 15, 2018, at 2:57 PM, Bruce Momjian wrote: > > > > On Wed, Aug 15, 2018 at 01:52:43PM -0700, Evan Rempel wrote: > >> There are just a ton of configuration elements that the DBAs need > >> to decide on and implement that require configuration of components > >> that are outside of the database proper. > >> > >> It was a worthwhile discussion. One needs to trust the data > >> stewards. > > > > Agreed. I just wish it had a more positive outcome. ;-) > > Well, it probably elucidated the issues enough that an expert in > SELinux could configure a server such that DBAs could not disable > logging. Of course, you still have to trust somebody with that > configuration, but it is possible to separate responsibilities if you > work hard enough at it. Well, since the superuser can start the server with whatever arguments they want, I am not sure how SELinux would help here. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +