Christoph Berg [2012-12-28 13:30 +0100]:
> This is probably the easiest to achieve if we simply use su(1) instead
> of doing the PID change etc in pure perl.

This would work in the case where change_ugid or $< are called/changed
right after a fork, but not in the cases where a program temporarily
drops privileges to run some code and then gets them back. So for
calling pg_ctl in particular, su will work fine indeed.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

Reply via email to