The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
members in a group arthi Linux 7 05-23-2008 05:20 AM
allowing members of a group to kill a process vastcharade High Level Programming 1 01-17-2008 03:55 PM
listing members of a unix group ovaska UNIX for Dummies Questions & Answers 2 03-09-2005 01:54 PM
solaris 9 php-4.3.4 make issue xyyz UNIX for Advanced & Expert Users 2 02-06-2004 10:35 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-09-2006
Registered User
 

Join Date: Nov 2006
Posts: 4
Unhappy 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 :-(
the error message is :

problem storing develop develop::200:root,vobadm,develop,bej00189,bej00183,bej00041,bej00058,bej00206,bej00147,bej00164,bej0 0161,bej00113,bej00197,bej00200,bej00155,bej00166,bej00244,bej00119,bej00182,bej00174,bej00171,bej00 188,bej00196,bej00057,bej00187,bej00195,bej00208,bej00191,bej00050,bej00179,bej00105,bej00120,bej001 48,bej00118,bej00180,bej00170,bej00078,bej00181,bej00250,bej00077,bej00184,bej00198,bej00079,bej0014 9,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,b ej00437,bej00465,bej00430,bejt0201,bej00388,bej00435,bej00454,bej00082,bej00488,bej00499,bej00493,be j00414,bej00485,bej00494,bej00484,bej00256,bej00436,bej00492,bej00522,bej00527,bej00524,bej00486,bej 00555,bej00528,bej00561,bej00564,bej00546,bej00560,bej00496,bej00487,bejt0253,bejt0252,bej00590,bej0 0588,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!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-10-2006
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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.
Reply With Quote
  #3 (permalink)  
Old 11-12-2006
Registered User
 

Join Date: Nov 2006
Posts: 4
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 :-)
Reply With Quote
  #4 (permalink)  
Old 11-15-2006
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 240
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...
Reply With Quote
  #5 (permalink)  
Old 11-17-2006
Registered User
 

Join Date: Nov 2006
Posts: 4
Smile

Quote:
Originally Posted by Tornado
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 :-)

Thanks a lot!!!
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:18 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 Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0