Todd Denniston writes:
> 
> which would imply either the user name given was invalid (for where
> initgroups looked) or the additional group was. Does initgroups get pointed
> at CVSROOT/passwd if it exists?

No, it just gets the username and associated gid from the system passwd
file.  If the username were invalid, the passwd file lookup would have
failed, so that's not it.  If the associated gid were invalid, the user
probably wouldn't be able to log in, so that's probably not it either. 
I do note that getgroups() can fail with EINVAL if there are more groups
than will fit in the output argument.  Perhaps there's an undocumented
internal limit in initgroups() that he's running into -- how many groups
is that user in?

-Larry Jones

I hate it when they look at me that way. -- Calvin


_______________________________________________
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to