make issue when I add some members into a NIS group on solaris 9,please help !!

Hello Sir,

I want to add some members into a group on NIS domain, but when I run "/usr/ccs/bin/make group" to update the group map it was failed :frowning:
the error message is :

problem storing develop develop::200:root,vobadm,develop,bej00189,bej00183,bej00041,bej00058,bej00206,bej00147,bej00164,bej00161,bej00113,bej00197,bej00200,bej00155,bej00166,bej00244,bej00119,bej00182,bej00174,bej00171,bej00188,bej00196,bej00057,bej00187,bej00195,bej00208,bej00191,bej00050,bej00179,bej00105,bej00120,bej00148,bej00118,bej00180,bej00170,bej00078,bej00181,bej00250,bej00077,bej00184,bej00198,bej00079,bej00149,bej00186,bej00190,bej00044,bej00151,bej00104,bej00215,bej00274,bej00281,bej00247,bej00251,bej00292,bej00285,bej00036,bej00270,bej00086,bej00329,bej00318,bej00323,bej00123,bej00317,bej00384,bej00392,bej00379,bej00383,bej00375,bej00325,bej00441,bej00352,bej00431,bej00445,bej00449,bej00432,bej00419,bej00437,bej00465,bej00430,bejt0201,bej00388,bej00435,bej00454,bej00082,bej00488,bej00499,bej00493,bej00414,bej00485,bej00494,bej00484,bej00256,bej00436,bej00492,bej00522,bej00527,bej00524,bej00486,bej00555,bej00528,bej00561,bej00564,bej00546,bej00560,bej00496,bej00487,bejt0253,bejt0252,bej00590,bej00588,bej00468
*** Error code 1
make: Fatal error: Command failed for target `group.time'

Then I remove a few members form that group member list, the group can be update,so I think the root cause is that group include so many members.
But I must add all members into that group,do you have a right way for this issue?

Thanks a lot!
:confused:

Do all these bej00xxx accounts belong to develop group in the passwd file? If so, then they don't need to be listed in the group file.

grep bej00189 passwd
bej00189:2f3wdfsd93r:5001:200:develop account 189:/home/develop:/bin/ksh

So if bej00189's group is 200, which is equal to develop, then don't put that account into the group file under develop.

Hello RTM,

Thanks for your answer:-)
That means I don't need add user's account into their primary group list in group file, just need add them into secondary or tertiary group list in group file,right?

but those users will be add into 2 groups on NIS domain,so I want to know if I can change some config files on solaris 9 to resolve this issue?

Thanks again :slight_smile:

There is a limit to the number of entries you can have in a group.
Off the top of my head I think it was around the 255 mark. To get around this you can use nested groups.

In your case you could create another group called develop2 and another called develop3 and develop4 and so on...

Then you would remove users from the develop group and add them to develop2, develop3, develop4 ..etc . then you add develop2 develop3 develop4 to develop

So your develop groups would look something like this.


develop::200:root,vobadm,develop2,develop3,develop4
develop2::200:bej00189,bej00183,bej00041,bej00058,bej00206
develop3::200:bej00147,bej00164,bej00161,bej00113,bej00197
develop4::200:bej00200,bej00155,bej00166,bej00244,bej00119
:
etc...

I got it and I will try :slight_smile:

Thanks a lot!!!