Subject: problem with user in 16+ groups
To: None <port-i386@netbsd.org>
From: Paul de Weerd <paul@mail.me.maar.nu>
List: port-i386
Date: 10/20/2001 01:19:08
Hi all,

We have stumbled across a truly weird limit. After adding a certain
user to 16 groups, the user can't log in anymore :

[uid@potato] $ ssh some.server.tld
uid@some.server.tld's password:
Last login: Sat Oct 20 00:46:32 2001 from potato.domain.
NetBSD 1.5.1 (Some Server config) #0: Sat Feb 30 20:15:38 CEST 2001

unable to set user context: Invalid argument
Connection to some.server.tld closed.


So I do get the motd, but after that I get booted. Problem disappears
when my groupcount drops below 16.

I could find no mention of this on the web or the netbsd site. Also,
the manpages for group et al say nothing about a limit.

Are we the only ones that add users to so many groups ?

Comments (and patches) greatly appreciated !

Cheers,

Paul 'WEiRD' de Weerd