Re: change pid/gid

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ray Stell <stellr(at)vt(dot)edu>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: change pid/gid
Date: 2016-12-09 15:33:58
Message-ID: 16944.1481297638@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ray Stell <stellr(at)vt(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message hubert depesz lubaczewski 2016-12-09 16:22:56 Re: change pid/gid
Previous Message Ray Stell 2016-12-09 15:21:43 change pid/gid