This is a discussion on What is the maximum number of members that a group can have? within the Linux software forums, part of the Linux Getting Started category; Does anyone of you knows the maximum number of members that a group can have? Kernel 2.4 / 2.6.......... )...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| Sponsored Links | ||
|
|
|
|||
|
In older implementations (glibc), a group cannot have more than 200 members. The maximum line length of /etc/group is 1024 characters. Longer lines will be skipped. This limitation disappeared in newer version of glibc. Older binaries that are statically linked, depend on old shared libraries, may still have this limit.
More info can be found at The GNU C Library docs : http://www.gnu.org/software/libc/man...ode/index.html |
|
||||
|
Try command:
Code:
grep GID /etc/login.defs
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Write c program:
Code:
vi test.c Code:
#include <unistd.h>
#include <stdio.h>
int main(void){
long n = sysconf(_SC_NGROUPS_MAX);
printf("Max Groups : %ld\n",n);
return 0;
}
Code:
gcc test.c -o test Code:
./test Code:
Max Groups : 65536 |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| set up e-mail group | karpos | Mail Servers | 1 | 06-01-2007 12:28 AM |
| Group Policy | bubloob_13 | Windows Xp/2000/2003 server administration | 0 | 01-31-2007 02:31 PM |
| Group Policy | bubloob_13 | Windows Xp/2000/2003 server administration | 1 | 12-20-2006 03:22 PM |
| win2k3 Group policy | bubloob_13 | Windows Xp/2000/2003 server administration | 1 | 12-11-2006 12:30 PM |
| Any idea on the maximum number of NFS clients? | warren | Linux software | 2 | 09-12-2006 11:40 AM |