Sponsored Content
Operating Systems AIX max size of a group in /etc/group Post 302193832 by shockneck on Sunday 11th of May 2008 09:01:18 AM
Old 05-11-2008
Quote:
Originally Posted by antalexi
[...]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,....
 

9 More Discussions You Might Find Interesting

1. Solaris

entry in /etc/group too long - problem using sudo with %group

hi folks, I've been googling for quite some time, but still can't find anything near it...my problem is the following: for useradministration in our company we are using ssh/sudo, now whenever I try to add users (we have quite a number of users) with useradd -G groupname for secondary group I... (4 Replies)
Discussion started by: poli
4 Replies

2. AIX

max size of a volum group with 5.3

hello i would like to create a volume group with 2200 Go (with pp size= 64) it is possible, or it is too big ? thank you (2 Replies)
Discussion started by: pascalbout
2 Replies

3. AIX

Max users in a group ?

Hi All, Does anyone know if there is a maximum limit to the number of users that can be assigned to a group. I currently have on a production server 900+ users in 1 group. I know some of these users are no longer valid as we only have 500 employees and not all employees use this application. ... (4 Replies)
Discussion started by: anmiller
4 Replies

4. Shell Programming and Scripting

Merge group numbers and add a column containing group names

I have a file in the following format. Groups of data merge together and the group number is indicated above each group. 1 adrf dfgr dfg 2 dfgr dfgr 3 dfef dfr fd 4 fgrt fgr fgg 5 fgrt fgr (3 Replies)
Discussion started by: Lucky Ali
3 Replies

5. Shell Programming and Scripting

Merge group numbers and add a column containing group names

Hi All I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group. 1 1 12 26 289 3.2e-027 GCGTATGGCGGC 2 12 26 215 6.7e+006 TTCCACCTTTTG 3 9 26 175 ... (1 Reply)
Discussion started by: Lucky Ali
1 Replies

6. Shell Programming and Scripting

Sort the file contents in each group....print the group title as well

I've this file and need to sort the data in each group File would look like this ... cat file1.txt Reason : ABC 12345-0023 32123-5400 32442-5333 Reason : DEF 42523-3453 23345-3311 Reason : HIJ 454553-0001 I would like to sort each group on the last 4 fileds and print them... (11 Replies)
Discussion started by: prash184u
11 Replies

7. Shell Programming and Scripting

need a one liner to grep a group info from /etc/group and use that result to search passwd file

/etc/group tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453 bin::2:root,daemon sys::3:root,bin,adm adm::4:root,daemon uucp::5:root /etc/passwd mk789:x:234:1::/export/home/dummy:/bin/sh po312:x:234:1::/export/home/dummy:/bin/sh ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies

8. Programming

Sql ORA-00937: not a single-group group function

I'm trying to return only one row with the highest value for PCT_MAX_USED. Any suggestions? When I add this code, I get the ORA-00937 error. trunc(max(decode( kbytes_max, 0, 0, (kbytes_alloc/kbytes_max)*100))) pct_max_used This is the original and returns all rows. select (select... (3 Replies)
Discussion started by: progkcp
3 Replies

9. Shell Programming and Scripting

Filter Row Based On Max Column Value After Group BY

Hello Team, Need your expertise on following: Here is the set of data: C1|4|C1SP1|A1|C1BP1|T1 C1|4|C1SP2|A1|C1BP2|T2 C2|3|C2SP1|A2|C2BP1|T2 C3|3|C3SP1|A3|C3BP1|T2 C2|2|C2SP2|A2|C2BP2|T1 I need to filter above date base on following two steps: 1. Group them by column 1 and 4 2.... (12 Replies)
Discussion started by: angshuman
12 Replies
group(4)						     Kernel Interfaces Manual							  group(4)

NAME
group, logingroup - group file, grp.h DESCRIPTION
contains for each group the following information: o group name o encrypted password o numerical group ID o comma-separated list of all users allowed in the group The file is an ASCII file. Fields are separated by colons, and each group is separated from the next by a new-line. No spaces should sep- arate the fields or parts of fields on any line. If the password field is null, no password is associated with the group. There are two files of this form in the system, and The file exists to supply names for each group, and to support changing groups by means of the utility (see newgrp(1)). provides a default group access list for each user via and (see login(1) and initgroups(3C)). The real and effective group ID set up by for each user is defined in (see passwd(4)). If is empty, the default group access list is empty. If and are links to the same file, the default access list includes the entire set of groups associated with the user. The group name and password fields in are never used; they are included only to give the two files a uniform format, allowing them to be linked together. All group IDs used in or should be defined in These files reside in directory Because of the encrypted passwords, these files can and do have general read permission and can be used, for example, to map numerical group IDs to names. The group structure is defined in and includes the following members: NETWORKING FEATURES
NIS The file can contain a line beginning with a plus which means to incorporate entries from Network Information Services (NIS). There are two styles of entries: means to insert the entire contents of NIS group file at that point, and means to insert the entry (if any) for name from NIS at that point. If a entry has a non-null password or group member field, the contents of that field overide what is contained in NIS. The numerical group ID field cannot be overridden. A group file can also have a line beginning with a minus these entries are used to disallow group entries. There is only one style of entry; an entry that consists of means to disallow any subsequent entry (if any) for name. These entries are disallowed regardless of whether the subsequent entry comes from the NIS or the local group file. WARNINGS
Group files must not contain any blank lines. Blank lines can cause unpredictable behavior in system administration software that uses these files. Group ID (gid) 9 is reserved for the Pascal Language operating system and the BASIC Language operating system. These are operating systems for Series 300/400 computers that can co-exist with HP-UX on the same disk. Using this gid for other purposes can inhibit file transfer and sharing. The length of each line in is limited to as defined in Because of this limit, users should not be listed in their primary group - only in their additional groups. If is linked to group membership for a user is managed by NIS, and no NIS server is able to respond, that user cannot log in until a server does respond. There is no single tool available to completely ensure that and are compatible. However, and can be used to simplify the task (see pwck(1M)). There is no tool for setting group passwords in DEPENDENCIES
NIS Here is a sample file: Group has a gid of 1 and members and The group is ignored since it appears after the entry Also, the group has members and and the password and group ID of the NIS entry for the group All groups listed in the NIS are pulled in and placed after the entry for The plus and minus features are part of NIS. Therefore if NIS is not installed, these features cannot work. FILES
SEE ALSO
groups(1), newgrp(1), passwd(1), setgroups(2), crypt(3C), getgrent(3C), initgroups(3C), passwd(4). STANDARDS CONFORMANCE
group(4)
All times are GMT -4. The time now is 01:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy