Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFND7-00083p-6I for pgsql-admin@arkaria.postgresql.org; Fri, 09 Dec 2016 15:35:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cFND6-00004r-PR for pgsql-admin@arkaria.postgresql.org; Fri, 09 Dec 2016 15:35:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cFNBR-0006Wo-CJ for pgsql-admin@postgresql.org; Fri, 09 Dec 2016 15:34:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cFNBP-0001vR-3m for pgsql-admin@postgresql.org; Fri, 09 Dec 2016 15:34:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uB9FXwMw016945; Fri, 9 Dec 2016 10:33:58 -0500 From: Tom Lane To: Ray Stell cc: "pgsql-admin@postgresql.org" Subject: Re: change pid/gid In-reply-to: References: Comments: In-reply-to Ray Stell message dated "Fri, 09 Dec 2016 10:21:43 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16943.1481297638.1@sss.pgh.pa.us> Date: Fri, 09 Dec 2016 10:33:58 -0500 Message-ID: <16944.1481297638@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Ray Stell writes: > Due to some external, sysadmin issues, I'm forced to change the pid/gid > of the postresql user on CentOS6. I'm wondering if this plan of action > has any flaws. Changing file ownership should be sufficient as far as PG itself is concerned, but if you have SELinux enabled (which you should) I'm not certain how this will affect its rules. I think that the answer is "it doesn't", or at worst that you'd need to reboot after changing the /etc/passwd mapping, but it's something to keep a side eye on. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin