The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Monkcast #12: IBM HW group OEMs Solaris to chagrin of SW group & a ... - ZDNet.com bl iBot UNIX and Linux RSS News 0 08-17-2007 05:30 PM
Volume Group Size ugxd14 AIX 3 09-11-2006 12:26 PM
max size of a volum group with 5.3 pascalbout AIX 2 09-06-2006 09:15 AM
entry in /etc/group too long - problem using sudo with %group poli SUN Solaris 4 12-21-2004 09:50 AM
How to check size of Volume Group s_aamir UNIX for Advanced & Expert Users 4 11-27-2001 05:07 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-08-2007
antalexi's Avatar
antalexi antalexi is offline
Registered User
  
 

Join Date: May 2004
Location: Southern California
Posts: 53
max size of a group in /etc/group

I have several AIX servers running 5.2.

What is the default max size for a group in /etc/group?
How do I change the default max size for a group to be unlimited (if possible)?

Thanks
  #2 (permalink)  
Old 03-08-2007
awk awk is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 134
There is a file called /usr/include/sys/limits.h - which shows system limits (not sets them)

In there, I suspect the one you are interested in is:
/* RUN-TIME INVARIANT VALUES
The system supports the following fixed magnitude limitations.
*/
#define MAX_INPUT 512 /* max bytes in terminal
input queue, >= 256+64 */

#define NGROUPS_MAX 128 /* max number of supplementary group IDs
per process, >= 0 */

now, why it says "per process" seems unusual, what limit did you hit ?
  #3 (permalink)  
Old 03-09-2007
antalexi's Avatar
antalexi antalexi is offline
Registered User
  
 

Join Date: May 2004
Location: Southern California
Posts: 53
here is the same line:

#define NGROUPS_MAX 128 /* max number of supplementary group IDs per process, >= 0 */

Is the 128, the number of groups a user can belong to? I'm assuming the "group IDs per process" is actually groups per user.

On our server, 16 groups is the maximum for any given user. We were told that we can adjust this number to 32, but where is this setting?
  #4 (permalink)  
Old 05-10-2008
risby risby is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 11
Quote:
Originally Posted by antalexi View Post
I have several AIX servers running 5.2.
What is the default max size for a group in /etc/group?
How do I change the default max size for a group to be unlimited (if possible)? Thanks
I'm sorry I can't help with the N_GROUPS_MAX question. That parameter is a limit to the number of groups of which a user can be a member. I believe your original question quoted above is about the number of members a group can have which is sort of 90 degrees different.

I also would like to know if there is a limit on the line length of lines in /etc/group. I believe there is and that it is about 1000 characters but search as I have I cannot find any information about it. It may be that there is a limit imposed by ypmake which promulgates the /etc/group file.

Did you find an answer to your original question?

Can anybody advise where else I could look to find the answer?

Thx
  #5 (permalink)  
Old 05-11-2008
shockneck's Avatar
shockneck shockneck is offline Forum Advisor  
No RISC - No Fun
  
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 356
Quote:
Originally Posted by antalexi View Post
[...]What is the default max size for a group in /etc/group?
How do I change the default max size for a group to be unlimited (if possible)?[...]
IIRC there are problems when the maximum length of a line in /etc/groups exceeds 2048 chars (think limit depends on the tool (NIS,vi,grep ...) one uses for editing this file). To get by this you could define several group names which all have the same group ID with each line length staying below the limit. This will lead to all users belonging to the same group.
group01:400:nancy,shirley,tina,ethel,....
group02:400:anne,doreen,emma,herriette,....
group03:400:amy,dorothea,carly,donna,....
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0