LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 06:08 PM   #1
gfrair
LQ Newbie
 
Registered: Jan 2005
Posts: 22

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, 07:34 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 07:38 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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



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 02:50 AM
Map Windows NT Groups to UNIX Groups - why? kenji1903 Linux - Networking 4 10-16-2007 11:52 AM
creating groups, adding users, and setting permissions bowie101 Linux - Newbie 2 11-23-2005 12:42 PM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 02:58 AM
creating groups spank Linux - Newbie 2 11-02-2003 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 PM.

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
Open Source Consulting | Domain Registration