Hi. It looks like this function moved? The man page says: SYNOPSIS #include <sys/types.h> #include <unistd.h> but it seems like it's really living in <grp.h>: [kmaraas@localhost xpl]$ grep setgroups /usr/include/*.h /usr/include/grp.h:extern int setgroups (size_t __n, __const __gid_t *__groups) __THROW; What's the right way of getting at this function? Preferrably in a way that works with other distros/OSes? Cheers Kjartan