Re: [ADMIN] change pid/gid - Mailing list pgsql-admin

From Tom Lane
Subject Re: [ADMIN] change pid/gid
Date
Msg-id 16944.1481297638@sss.pgh.pa.us
Whole thread Raw
In response to [ADMIN] change pid/gid  (Ray Stell <stellr@vt.edu>)
List pgsql-admin
Ray Stell <stellr@vt.edu> 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


pgsql-admin by date:

Previous
From: Ray Stell
Date:
Subject: [ADMIN] change pid/gid
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: [ADMIN] change pid/gid