home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / admin / 5524 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.8 KB

  1. Path: sparky!uunet!usc!wupost!waikato.ac.nz!bcs
  2. From: bcs@waikato.ac.nz
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: SOLVED: Sun NFS clients need root access?
  5. Message-ID: <1992Aug14.144650.10101@waikato.ac.nz>
  6. Date: 14 Aug 92 14:46:50 +1200
  7. References: <1992Aug13.133048.10075@waikato.ac.nz>
  8. Organization: University of Waikato, Hamilton, New Zealand
  9. Lines: 36
  10.  
  11. Hi all,
  12.  
  13. Yesterday I posted a question re /etc/exports and the "-access=b:c:d" not
  14. allowing b, c, or d to mount the filesystem...
  15.  
  16. |But if I make a:/etc/exports read "/usr/local -access=b:c:d,root=b:c:d"
  17. |everything works fine.  This is not the behaviour described in the
  18.  
  19. It appears that this is actually a problem with my NIS netgroup map.  Never
  20. dawned on me to mention that b, c, and d are actually netgroups rather than
  21. hosts. Heh 8-|
  22.  
  23. The problem with my netgroups was that I never realised that it is the NIS
  24. domain, rather than the domain part of the hosts FQDN that netgroup(5) is
  25. talking about.  Moreover, it is the NIS domain in which the access is to be
  26. allowed/denied, rather than the NIS domain of the host described by the
  27. netgroup entry!
  28.  
  29. i.e. if host "a" is in NIS domain "blah.cs.waikato.ac.nz", and wishes to
  30. export /usr/local to "b", "c" & "d" in the same or some other NIS domain
  31. (or not running NIS at all), the correct netgroup entries are:
  32.  
  33. x  (x,,blah.cs.waikato.ac.nz)
  34. y  (y,,blah.cs.waikato.ac.nz)
  35. z  (z,,blah.cs.waikato.ac.nz)
  36. b  x y z
  37.  
  38. Then "/usr/local  -access=b" does the trick nicely.
  39.  
  40. Thanx for the three or four replies so far, but you didn't really have
  41. enough to go on people.
  42.  
  43. +-Brent Summers, U of Waikato, NZ----------------------------------------+
  44. |    "Laugh and the world ignores you.  Crying doesn't help either."     |
  45. |      All opinions expressed are, of course, solely my own errors.      |
  46. +------------------------------------------------------bcs@waikato.ac.nz-+
  47.