[pgpool-general: 4686] Re: Pgpool sudo for virtual IP vs run as root
Piotr Gbyliczek
piotr.gbyliczek at reconnix.com
Mon May 16 20:50:47 JST 2016
On Monday 16 May 2016 11:36:55 Avi Weinberg wrote:
> Hi all,
>
> I have permission issue with adding and removing the virtual IP. I added
> user postgres to the sudoers list. I wanted to add sudo to the if_cmd_path
> or to if_up_cmd but any place I put the sudo caused the service not to come
> up. Where the sudo should be put? Are the only places that sudo is needed
> are for the virtual IP and the arping? Should I start the service as root
> instead?
I think documentation suggests setting suid on binaries if you not running
pgpool as root (which is not recommended). If I remember correctly, just
ifconfig and arping if I remember.
Regards,
Piotr
More information about the pgpool-general
mailing list