Hi All I need to write an access-list pam module for Linux and for that I need function identical to getgrplist which can be found in *bsd* OS-s and does not setgroups like initgroups does. SYNOPSIS int getgrouplist(const char *name, gid_t basegid, gid_t *groups, int *ngroups); Does anybody knows about such function under Linux, or I have to implement ti by myself. Thanx a lot Tomas Winkler The System Group CSE HUJI