Re: [PATCH] MEDIUM: config: Add user/group options to program section

2019-07-15 Thread William Lallemand
On Fri, Jul 12, 2019 at 11:50:26AM +0800, Andrew Heberle wrote: > This patch adds "user" and "group" config options to the "program" > section so the configured command can be run as a different user. Thanks, I just pushed it in the master. -- William Lallemand

Re: [PATCH] MEDIUM: config: Add user/group options to program section

2019-07-11 Thread Willy Tarreau
On Fri, Jul 12, 2019 at 11:50:25AM +0800, Andrew Heberle wrote: > Hi Willy, > > It looks like my mailer was mangling the tabs so I'm hoping > my (first) attempt at using git send-patch is more > successful. > > I have also updated the commit message. Looks much better indeed :-) I'll let William

Re: [PATCH] MEDIUM: config: Add user/group options to program section

2019-07-11 Thread Andrew Heberle
Hi Willy, It looks like my mailer was mangling the tabs so I'm hoping my (first) attempt at using git send-patch is more successful. I have also updated the commit message. Thanks. Regards, Andrew Heberle

Re: [PATCH] MEDIUM: config: Add user/group options to program section

2019-07-11 Thread Willy Tarreau
Hi Andrew, On Fri, Jul 12, 2019 at 09:12:42AM +0800, Andrew Heberle wrote: > This patch adds "user" and "group" config options to the "program" > section so the configured command can be run as a different user. > > I re-used the setuid/setgid code from "haproxy.c" for this so I'm > hoping there