05-10-2008
Quote:
Originally Posted by
antalexi
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
9 More Discussions You Might Find Interesting
1. Solaris
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
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
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
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
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
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
/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
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
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
GRPCK(8) System Management Commands GRPCK(8)
NAME
grpck - verify integrity of group files
SYNOPSIS
grpck [options] [group [ shadow ]]
DESCRIPTION
The grpck command verifies the integrity of the groups information. It checks that all entries in /etc/group and /etc/gshadow have the
proper format and contain valid data. The user is prompted to delete entries that are improperly formatted or which have other
uncorrectable errors.
Checks are made to verify that each entry has:
o the correct number of fields
o a unique and valid group name
o a valid group identifier (/etc/group only)
o a valid list of members and administrators
o a corresponding entry in the /etc/gshadow file (respectively /etc/group for the gshadow checks)
The checks for correct number of fields and unique group name are fatal. If an entry has the wrong number of fields, the user will be
prompted to delete the entire line. If the user does not answer affirmatively, all further checks are bypassed. An entry with a duplicated
group name is prompted for deletion, but the remaining checks will still be made. All other errors are warnings and the user is encouraged
to run the groupmod command to correct the error.
The commands which operate on the /etc/group and /etc/gshadow files are not able to alter corrupted or duplicated entries. grpck should be
used in those circumstances to remove the offending entries.
OPTIONS
The -r and -s options cannot be combined.
The options which apply to the grpck command are:
-h, --help
Display help message and exit.
-r, --read-only
Execute the grpck command in read-only mode. This causes all questions regarding changes to be answered no without user intervention.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-s, --sort
Sort entries in /etc/group and /etc/gshadow by GID.
By default, grpck operates on /etc/group and /etc/gshadow. The user may select alternate files with the group and shadow parameters.
CONFIGURATION
The following configuration variables in /etc/login.defs change the behavior of this tool:
MAX_MEMBERS_PER_GROUP (number)
Maximum members per group entry. When the maximum is reached, a new group entry (line) is started in /etc/group (with the same name,
same password, and same GID).
The default value is 0, meaning that there are no limits in the number of members in a group.
This feature (split group) permits to limit the length of lines in the group file. This is useful to make sure that lines for NIS
groups are not larger than 1024 characters.
If you need to enforce such limit, you can use 25.
Note: split groups may not be supported by all tools (even in the Shadow toolsuite). You should not use this variable unless you really
need it.
FILES
/etc/group
Group account information.
/etc/gshadow
Secure group account information.
/etc/passwd
User account information.
EXIT VALUES
The grpck command exits with the following values:
0
success
1
invalid command syntax
2
one or more bad group entries
3
can't open group files
4
can't lock group files
5
can't update group files
SEE ALSO
group(5), groupmod(8), gshadow(5), passwd(5), pwck(8), shadow(5).
shadow-utils 4.1.5.1 05/25/2012 GRPCK(8)