home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / wizards / 4828 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  3.0 KB

  1. Xref: sparky comp.unix.wizards:4828 comp.sys.sun.admin:8546 comp.unix.admin:6314 comp.protocols.nfs:2808
  2. Newsgroups: comp.unix.wizards,comp.sys.sun.admin,comp.unix.admin,comp.protocols.nfs
  3. Path: sparky!uunet!cs.utexas.edu!usc!rpi!psinntp!psinntp!wrldlnk!usenet
  4. From: "Andrew Luck" <p00078@psilink.com>
  5. Subject: SOLVED: Secondary Intermittent Groups Failure
  6. Message-ID: <2931370940.0.p00078@psilink.com>
  7. Sender: usenet@worldlink.com
  8. Nntp-Posting-Host: 127.0.0.1
  9. Organization: Performance Systems Int'l
  10. Date: Fri, 20 Nov 1992 21:00:36 GMT
  11. X-Mailer: PSILink (3.2)
  12. Lines: 74
  13.  
  14. The complete problem statement and the message containing the solution.
  15. This is an ugly bug.
  16.  
  17.  
  18. Here is updated information on our "group" problem.
  19.  
  20. We are running SunOS 4.1.2 on a Sparc IPX.  We are using the
  21.     NIS that was shipped with this version of the OS.
  22.  
  23. The "group" problem is defined completely (as I know it) below:
  24.  
  25. The "passwd" NIS database gives this (ypcat passwd):
  26.  
  27. transmgr:<deleted>:2000:11:Transportation Manager:/home/gru5/transmgr:/bin/csh
  28. jwhisner:<deleted>:2012:1001:Jim Whisner:/home/gru5/jwhisner:/bin/csh
  29. <Many more>
  30. mgaines:<deleted>:2005:1001:Mark Gaines:/home/gru5/mgaines:/bin/csh
  31. <Still More>
  32.  
  33. The "group" NIS database gives this (ypcat group):
  34.  
  35. transmgr:*:11:
  36. trangrap:*:1002:pnaranjo,wegan,ksaunder,mgaines,ebennett,jwhisner,transmgr,rlewis,jprather,jsmith,fstrmbrg,awebster,kwalsh,cwillard
  37. tranengr:*:1001:transmgr
  38. structur:*:1003:transmgr
  39. traffic:*:1004:transmgr,wtaylor
  40. enveng:*:1005:
  41. other:*:20:
  42. ess:*:100:
  43.  
  44. When the command "groups <username>" is typed (by anyone, while logged in
  45. without priveleges) the output is constant for persons added to group 1002
  46. in the "group" file:
  47.  
  48. <username>: trangrap tranengr
  49.  
  50. When the command "groups" is typed while logged in as each of the users,
  51. the output shows as below:
  52.  
  53. for users: pnaranjo wegan ksaunder ebennett jwhisner transmgr kwalsh
  54. the output is : "transengr trangrap"
  55.  
  56. for users: mgaines rlewis jprather jwmith fstrmbrg awebster cwillard
  57. the output is : "transengr"
  58.  
  59. Further, if you type the command "groups <username>" while logged in
  60. as that user, the output is always:
  61.  
  62. <username>: trangrap tranengr
  63.  
  64. Finally, the newgrp command will allow any of these people to change
  65. groups (as in SVR3 derivitives).
  66.  
  67.  
  68. The system is setup so that NIS !MUST! be used.  Our "passwd" and "group"
  69. files are stripped except for system level accounts/groups.
  70.  
  71. Any help is Greatly appreciated!
  72.  
  73.  
  74. AND THE ANSWER WAS!!!
  75.  
  76. There's a bug in the SunSolve database somewhere (don't have access to it
  77. right now) which indicates that this can be a problem and that sometimes
  78. you have to do a "cd /var/yp; rm netid.time; make netid" in addition to
  79. the "make group", in order for group changes to be propagated properly.
  80.  
  81. One of our other sites also had problems with group membership changes not
  82. being picked up, and this turned out to be the problem.
  83. -- 
  84. Ruth Milner                          NRAO/VLA                  Socorro NM
  85. Computing Division Head      rmilner@zia.aoc.nrao.edu
  86.  
  87. MANY MANY THANKS  :)
  88.