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