Well..
I'm pulling together a bunch of J's postings. He's been complaining about not being able to add users - this thread,
Please Help I've lost my Gui :
http://www.linuxquestions.org/questi...threadid=47212
My gdm.conf file is stuffed :
http://www.linuxquestions.org/questi...threadid=47156
And urm.. I'm sure there was another one somewhere - which all appear to be related.
J's been adding group entries for every user he creates - for the purposes of allowing um.. 'group' access to home directories or something. A spectacularly bad idea, and I had done some research on the maximum amount of groups possible under a default Linux install.
I came up with the number 32 and had written a whole heap of stuff on the limit, why it was a bad idea to do 'per user groups' in the first place, and possible workarounds.
While fiddling on a machine here, out of curiosity I did a count on the number of groups on *my* machine, and came up with 41. Which... completely invalidated the stuff I had researched.
So.. I deleted my post and figured I needed more information.
I've not gotten it though (I'm at work, and um.. working :P) so I'll post what I *have* and maybe someone else can figure out why I'm seeing results which conflict.
I figure that he's over-done his group file and that it's working on a first-in-first-out basis and his gdm group has been shoved off the list, and therefore he's having rights problems when trying to run his Gui.
I would suggest backing up your group file, hacking it down to the basics again (below say 50 groups), and see if that helps.
Here's wot I wrote earlier, but bear in mind, I can't make it tally with my experience in the field :
-----------------------------------------------------------
You have a limit of 32 groups, by default.
While it doesn't address Linux specifically you may want to look at this :
http://web.gnu.walfield.org/mail-arc...gust/0020.html
What may not help is the information that the number of groups is hard coded into the kernel. You're welcome to recompile your kernel and up the number of groups. You will want to look in : /usr/include/asm/param.h
and change the line :
#define NGROUPS 32
Also in /usr/include/linux/limits.h
and change :
#define NGROUPS_MAX 32 /* supplemental group IDs are available */
and then recompile your kernel. Recompiling is not trivial, and you'll probably break something.
Further reading (with quotes from Linus of all people) can be found below on why it happens this way :
http://www.uwsg.iu.edu/hypermail/lin...07.3/1007.html
Slick.
-----------------------------------------------------------------------
Notes : The above infers there's a limit of 32 groups. Which is bourne out by my inspection of the header files there. But I get 41 working groups out of a pretty default install of Redhat 7.3.. So, I dunno.