[Zope-dev] initgroups

David Cooper cooper@nato.nosc.mil
Mon, 14 Apr 2003 18:14:44 -0700


On upgrading to ZOPE 2.6.1 on HP-UX I get problems with the daemon not
switching user. This is caused by the compilation of initgroups not passing

#if defined(__unix__) || defined(unix)

This appears to be the only place where unix or __unix__ is expected to be
defined. Where is it expected to be set.

Take out the #if and Zope works.

Is there a better way of determining whether initgroups exists.

I looked for any other version in CVS but it doesn't appear to be there at
all.

David.