The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


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


Other UNIX.COM Threads 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 01:30 PM
Volume Group Size ugxd14 AIX 3 09-11-2006 08:26 AM
max size of a volum group with 5.3 pascalbout AIX 2 09-06-2006 05:15 AM
entry in /etc/group too long - problem using sudo with %group poli SUN Solaris 4 12-21-2004 05:50 AM
How to check size of Volume Group s_aamir UNIX for Advanced & Expert Users 4 11-27-2001 01:07 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-08-2007
antalexi's Avatar
Registered User
 

Join Date: May 2004
Location: Southern California
Posts: 52
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-08-2007
awk awk is offline
Registered User
 

Join Date: Feb 2007
Posts: 109
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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 ?
Reply With Quote
  #3 (permalink)  
Old 03-09-2007
antalexi's Avatar
Registered User
 

Join Date: May 2004
Location: Southern California
Posts: 52
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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?
Reply With Quote
  #4 (permalink)  
Old 05-10-2008
Registered User
 

Join Date: Feb 2007
Posts: 11
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
Reply With Quote
  #5 (permalink)  
Old 05-11-2008
Registered User
 

Join Date: Mar 2008
Location: In the middle of Europe
Posts: 47
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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,....
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB 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 -7. The time now is 02:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102