home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:4828 comp.sys.sun.admin:8546 comp.unix.admin:6314 comp.protocols.nfs:2808
- Newsgroups: comp.unix.wizards,comp.sys.sun.admin,comp.unix.admin,comp.protocols.nfs
- Path: sparky!uunet!cs.utexas.edu!usc!rpi!psinntp!psinntp!wrldlnk!usenet
- From: "Andrew Luck" <p00078@psilink.com>
- Subject: SOLVED: Secondary Intermittent Groups Failure
- Message-ID: <2931370940.0.p00078@psilink.com>
- Sender: usenet@worldlink.com
- Nntp-Posting-Host: 127.0.0.1
- Organization: Performance Systems Int'l
- Date: Fri, 20 Nov 1992 21:00:36 GMT
- X-Mailer: PSILink (3.2)
- Lines: 74
-
- The complete problem statement and the message containing the solution.
- This is an ugly bug.
-
-
- Here is updated information on our "group" problem.
-
- We are running SunOS 4.1.2 on a Sparc IPX. We are using the
- NIS that was shipped with this version of the OS.
-
- The "group" problem is defined completely (as I know it) below:
-
- The "passwd" NIS database gives this (ypcat passwd):
-
- transmgr:<deleted>:2000:11:Transportation Manager:/home/gru5/transmgr:/bin/csh
- jwhisner:<deleted>:2012:1001:Jim Whisner:/home/gru5/jwhisner:/bin/csh
- <Many more>
- mgaines:<deleted>:2005:1001:Mark Gaines:/home/gru5/mgaines:/bin/csh
- <Still More>
-
- The "group" NIS database gives this (ypcat group):
-
- transmgr:*:11:
- trangrap:*:1002:pnaranjo,wegan,ksaunder,mgaines,ebennett,jwhisner,transmgr,rlewis,jprather,jsmith,fstrmbrg,awebster,kwalsh,cwillard
- tranengr:*:1001:transmgr
- structur:*:1003:transmgr
- traffic:*:1004:transmgr,wtaylor
- enveng:*:1005:
- other:*:20:
- ess:*:100:
-
- When the command "groups <username>" is typed (by anyone, while logged in
- without priveleges) the output is constant for persons added to group 1002
- in the "group" file:
-
- <username>: trangrap tranengr
-
- When the command "groups" is typed while logged in as each of the users,
- the output shows as below:
-
- for users: pnaranjo wegan ksaunder ebennett jwhisner transmgr kwalsh
- the output is : "transengr trangrap"
-
- for users: mgaines rlewis jprather jwmith fstrmbrg awebster cwillard
- the output is : "transengr"
-
- Further, if you type the command "groups <username>" while logged in
- as that user, the output is always:
-
- <username>: trangrap tranengr
-
- Finally, the newgrp command will allow any of these people to change
- groups (as in SVR3 derivitives).
-
-
- The system is setup so that NIS !MUST! be used. Our "passwd" and "group"
- files are stripped except for system level accounts/groups.
-
- Any help is Greatly appreciated!
-
-
- AND THE ANSWER WAS!!!
-
- There's a bug in the SunSolve database somewhere (don't have access to it
- right now) which indicates that this can be a problem and that sometimes
- you have to do a "cd /var/yp; rm netid.time; make netid" in addition to
- the "make group", in order for group changes to be propagated properly.
-
- One of our other sites also had problems with group membership changes not
- being picked up, and this turned out to be the problem.
- --
- Ruth Milner NRAO/VLA Socorro NM
- Computing Division Head rmilner@zia.aoc.nrao.edu
-
- MANY MANY THANKS :)
-