Hello. I'm using SuSE linux 7.3 and I have a problem with the passwd and group files (other releases acts the same). I discovered that when i try to make some user to be a member of 32 groups everything is OK,but when i make the user member of 33 or more groups the system ignores the groups greater then 32. No metter how many groups the user is member of the command "groups" returns maximum 32 groups. Please tell me if there is some limit about this and how can I increase this number ? Thanks. Tcvetan Filev AstartecNET Ltd.
On Sunday 05 January 2003 11:40 pm, Cvetan Filev wrote:
I discovered ... when i make the user member of 33 or more groups the system ignores the groups greater then 32. [...] Please tell me if there is some limit about this and how can I increase this number ?
how to increase: hack the kernel? I'm thinking that 32 groups is a fundamental unix/linux limitation, but I cannot find a document or reference to support that assumption. I come from a minicomputer environment that had a somewhat different take on the concept of "groups", but in either case, there really wasn't much need for "a lot" of groups [nor for a single user to be a "member" of more than one] If you're trying to integrate a single user into more than 32 groups, I'd rethink your group strategy -- something is not right with that scenario...
* Cvetan Filev (ceco@anons.bg) [030105 23:41]:
I discovered that when i try to make some user to be a member of 32 groups everything is OK,but when i make the user member of 33 or more groups the system ignores the groups greater then 32.
You can change this in /usr/include/linux/limits.h and rebuild your kernel. I have no idea what, if anything, breaks though. -- -ckm
participants (3)
-
Christopher Mahmood
-
Cvetan Filev
-
Tom Emerson