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 1fq39s-0006Zy-Bi for pgsql-admin@arkaria.postgresql.org; Wed, 15 Aug 2018 21:16:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fq39q-0000S0-Fk for pgsql-admin@arkaria.postgresql.org; Wed, 15 Aug 2018 21:16:46 +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 1fq39q-0000Rt-6P for pgsql-admin@lists.postgresql.org; Wed, 15 Aug 2018 21:16:46 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fq39g-00045j-7m for pgsql-admin@lists.postgresql.org; Wed, 15 Aug 2018 21:16:43 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id F30A7C0FA5; Wed, 15 Aug 2018 21:16:33 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tCp3s0lF6LfF; Wed, 15 Aug 2018 21:16:33 +0000 (UTC) Received: from [192.168.2.16] (unknown [8.39.228.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id CF15CC0F8F; Wed, 15 Aug 2018 21:16:30 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: How to revoke privileged from PostgreSQL's superuser From: Scott Ribe In-Reply-To: <20180815210926.GD5005@momjian.us> Date: Wed, 15 Aug 2018 15:16:28 -0600 Cc: Evan Rempel , pgsql-admin@lists.postgresql.org Content-Transfer-Encoding: 7bit Message-Id: 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> <20180815210926.GD5005@momjian.us> To: Bruce Momjian X-Mailer: Apple Mail (2.3445.9.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Aug 15, 2018, at 3:09 PM, Bruce Momjian wrote: > > Well, since the superuser can start the server with whatever arguments > they want, I am not sure how SELinux would help here. root, yes, postgres "superuser", no--assuming things being locked down enough