LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2005, 07:08 PM   #1
gfrair
LQ Newbie
 
Registered: Jan 2005
Posts: 20

Rep: Reputation: 0
Creating Groups...


I have a quick question for anyone willing to answer with regards to user group creation:

Are there limitations to the number of groups a person can belong to? The number of people in a group? The number of groups on the system?

How would these be specified or changed?

Any input would be greatly appreciated,

Thanks
 
Old 01-31-2005, 08:34 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
The default kernel usually limits the max number of groups to 32. This can be changed by a kernel recompile and glibc. Though this was a few kernels back, not sure if its changed in more recent kernels, etc. Perhaps someone else will reply if they know off the top of their head if that has changed.
 
Old 01-31-2005, 08:38 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Actually looking at the src for the 2.4.29 kernel I have on my machine.. its still apparently shows that 32 is the hardcoded max number of groups a user can belong in. So if you need more, change these two files with the value specified with them to what you want:

/usr/src/linux/include/asm/param.h
#define NGROUPS 32

/usr/src/linux/include/linux/limits.h:
#define NGROUPS_MAX 32
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
groups (system default groups) Xavius Linux - General 2 07-18-2012 03:50 AM
Map Windows NT Groups to UNIX Groups - why? kenji1903 Linux - Networking 4 10-16-2007 12:52 PM
creating groups, adding users, and setting permissions bowie101 Linux - Newbie 2 11-23-2005 01:42 PM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 03:58 AM
creating groups spank Linux - Newbie 2 11-02-2003 03:54 AM


All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration