Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!rutgers!ucsd!ucbvax!ucsfcgl!genie!dm From: dm@genie.UUCP (David Mischel) Newsgroups: comp.windows.x Subject: Re: group permissions and xdm Summary: xdm setgroups fix Message-ID: <773@genie.UUCP> Date: 26 Dec 89 17:37:44 GMT References: <936@hsi86.hsi.UUCP> Organization: Genentech Inc., South San Francisco, CA Lines: 22 In article <936@hsi86.hsi.UUCP>, wright@hsi.UUCP (Gary Wright) writes: > When using xdm, my group permissions as reported by groups(1) > are not set correctly. on DEC 8650, BSD 4.3(tahoe), XV11R3-- i used initgroups in session.c to fix this: #ifdef NGROUPS /* * setgroups (verify->ngroups, verify->groups); */ initgroups(greet->name, verify->groups[0]); #else setgid (verify->gid); #endif =============================================================================== David Mischel These opinions are cloned from my very own dm@genie.gene.com cells, and not from any belonging to Genentech, Inc. ===============================================================================