[Pkg-postgresql-public] Bug#694454: Bug#694454: ... and PAM, too

Martin Pitt mpitt at debian.org
Sat Feb 16 18:44:31 UTC 2013


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20130216/7cb0af37/attachment.pgp>


More information about the Pkg-postgresql-public mailing list