home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / dec / 5795 < prev    next >
Encoding:
Internet Message Format  |  1992-11-04  |  2.7 KB

  1. Xref: sparky comp.sys.dec:5795 comp.sys.hp:12560 comp.unix.ultrix:8095
  2. Path: sparky!uunet!ogicse!uwm.edu!linac!att!ucbvax!ucdavis!arons
  3. From: arons@tyfon.eecs.ucdavis.edu (Tom Arons)
  4. Newsgroups: comp.sys.dec,comp.sys.hp,comp.unix.ultrix
  5. Subject: Re: HP -> DEC nfs netgroup PROBLEM
  6. Message-ID: <ARONS.92Nov4221707@tyfon.eecs.ucdavis.edu>
  7. Date: 5 Nov 92 06:17:07 GMT
  8. Article-I.D.: tyfon.ARONS.92Nov4221707
  9. References: <Bwvsp6.20y@cs.psu.edu> <1992Oct29.132948.24920@e3u001.ped.pto.ford.com>
  10.     <Bwwr2q.3wG@cs.psu.edu>
  11. Sender: usenet@ucdavis.ucdavis.edu
  12. Followup-To: comp.sys.dec
  13. Organization: University of California at Davis
  14. Lines: 49
  15. In-reply-to: kenh@leps5.phys.psu.edu's message of 30 Oct 92 00:08:49 GMT
  16.  
  17.  
  18.    Fair enough.  I have the following entry in our netgroups map:
  19.  
  20.    physics        (annett.phys.psu.edu,,) (banavar.phys.psu.edu,,)\
  21.            (bangalore.phys.psu.edu,,) (collins.phys.psu.edu,,)\
  22.            (corsica.phys.psu.edu,,) (etat.phys.psu.edu,,)\
  23.            (faraday.phys.psu.edu,,) (glue.phys.psu.edu,,)\
  24.            (neutron.phys.psu.edu,,) (phoenix.phys.psu.edu,,)\
  25.            (psuphys1.phys.psu.edu,,) (quixote.phys.psu.edu,,)\
  26.            (color.phys.psu.edu,,) (willis.phys.psu.edu,,)
  27.  
  28.    and this line in /etc/exports:
  29.  
  30.    /export/home    physics
  31.  
  32.    So, for example, the host color.phys.psu.edu, should be able to mount
  33.    /export/home, right?  I get permission denied.  If I put color.phys.psu.edu
  34.    in the export line, it works.  Major blah.  This doesn't work on our ultrix
  35.    4.0 and our ultrix 4.3 system.
  36.  
  37. What I have had to do to get netgroups to work in a heterogenous system is make
  38. a netgroup for each host consisting of the unqualified and fully qualified
  39. host name. This is because different versions of NFS get the host names 
  40. different ways.  What has worked for us for several years over a couple of
  41. hundred systems from a wide variety of vendors and operating systems, 
  42. including various versions of hp-ux and ultrix is something like this:
  43.  
  44. In /etc/netgroup:
  45. ash (ash,-,nis.ece) (ash.ece.ucdavis.edu,-,nis.ece)
  46. elm (elm,-,nis.ece) (elm.ece.ucdavis.edu,-,nis.ece)
  47.  
  48. trees    ash elm
  49.  
  50. You can then use trees in /etc/exports.
  51.  
  52. /etc/netgroup is actually generated from a script that uses a
  53. set of host and user lists controlled by various lab managers. nis.ece is
  54. the name of the nis domain.  It is listed explicitly, along with the '-'
  55. because otherwise a rather small number of entries will break some size
  56. limit that makedbm imposes (I think. It's been a while since I put this
  57. stuff together).  Anyway, my job would be immensely more complicated if
  58. netgroups did not work, thank goodness they do.
  59.  
  60. Tom Arons            Internet: arons@ece.ucdavis.edu
  61. ECE Department
  62. University of California
  63. Davis, CA 95616            Phone:    (916) 752-1750
  64.  
  65.  Tom
  66.