Visit Our UNIX and Linux User Community


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


 
Thread Tools Search this Thread
Operating Systems Solaris make issue when I add some members into a NIS group on solaris 9,please help !!
# 1  
Old 11-10-2006
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 :

Code:
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!
Smilie
# 2  
Old 11-10-2006
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.

Code:
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.
# 3  
Old 11-12-2006
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 :-)
# 4  
Old 11-15-2006
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.

Code:
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...

Tornado
# 5  
Old 11-17-2006
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.

Code:
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!!!

Previous Thread | Next Thread
Test Your Knowledge in Computers #668
Difficulty: Medium
IEEE 802.11 is part of the IEEE 802 set of LAN protocols, and specifies the set of media access control (MAC) and physical layer (PHY) protocols for implementing virtual local area network (VLAN) Wi-Fi computer communication in various frequencies.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

NIS/smtp services issue on Solaris 11

Hi, Few services not starting on new build Solaris 11 non-global zone. I uninstalled zone and reinstalled and still same issue, while global zone is working fine. smpt service is going into maintenance mode and /var/svc/log/network-smtp:sendmail.log shows that it tries and then dead ... (0 Replies)
Discussion started by: solaris_1977
0 Replies

2. Solaris

How to list group members in solaris 9

Hi, I already gone through with old post regarding listing the group members and tried the command getenv group other the result is other::1:root i listed my part of the /etc/passwd file below test1:x:100:1::/home/test1:/bin/sh test2:x:101:1::/home/test2:/bin/ksh... (7 Replies)
Discussion started by: vr_mari
7 Replies

3. Linux

members in a group

Hi all, I am new to Linux.Can anyone tell me how to display or list all the members in a group? Thanks in advance. (9 Replies)
Discussion started by: arthi
9 Replies

4. AIX

How to allow group members to kill process?

Hey I'm writing a script that creates some processes,and some scripts which kill those processes. the question is Simply: How can I allow group members to be able to kill processes created by other member at the same group? I need your help as soon as possible Thanks for your help in... (4 Replies)
Discussion started by: The Dark Knight
4 Replies

5. Shell Programming and Scripting

How to get a list of group members?

Is there a command to get a list of group members? Something similar to the groups command, but instead of passing a username and returning groups, you pass it a groupname, and it returns members? It is difficult to do it manually because the group membership information is split across two... (5 Replies)
Discussion started by: akbar
5 Replies

6. Programming

allowing members of a group to kill a process

I've written a python program where I want to allow members of a specific group the ability to kill it, and I'm not sure how to do it. I've been looking at the setuid() and setgid() and similar functions in the os module, but haven't been able to get them to work. I can't seem to change the uid or... (1 Reply)
Discussion started by: vastcharade
1 Replies

7. UNIX for Dummies Questions & Answers

Solaris 9 NIS user creation issue

Helloo to all... what is the correct way to assign a password to a new NIS user on a NIS master server? When I the following: useradd -s /bin/bash -d /export/home/username -m username The user get created fine but when I try to assign a password I get: #passwd username... (0 Replies)
Discussion started by: GLJ@USC
0 Replies

8. UNIX for Dummies Questions & Answers

listing members of a unix group

I know there is a "groups" command to list the groups a user belongs to, but how about the opposite? Is there a standard command to find out which users belong to a particular group? (2 Replies)
Discussion started by: ovaska
2 Replies

9. UNIX for Advanced & Expert Users

solaris 9 php-4.3.4 make issue

compiling 4.3.4 i'm running into the following error: quote: -------------------------------------------------------------------------------- Undefined first referenced symbol in file uncompress /usr/local/mysql/lib/libmysqlclient.a(my_compress.o) compress... (2 Replies)
Discussion started by: xyyz
2 Replies

10. UNIX for Dummies Questions & Answers

NIS group vs local group

Hi everyone, I'm new to UNIX so plz excuse me if this sounds foolish Assume there exists a group 'xyz' on the NIS as well as on the local UNIX box. And we added the user 'test' to the local group. Which group priveleges will 'test' have? do reply.. thanks, VJ. (3 Replies)
Discussion started by: vjsony
3 Replies

Featured Tech Videos