home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!sdd.hp.com!ux1.cso.uiuc.edu!m.cs.uiuc.edu!sunb10.cs.uiuc.edu!sparc0a.cs.uiuc.edu!pirzyk
- From: pirzyk@sparc0a.cs.uiuc.edu (Jim Pirzyk)
- Newsgroups: comp.sys.sun.admin
- Subject: /etc/netgroup and /etc/exports
- Summary: Using a netgroup with machines in a different NIS domain
- Keywords: netgroup exports
- Message-ID: <1992Aug30.144026.16771@sunb10.cs.uiuc.edu>
- Date: 30 Aug 92 14:40:26 GMT
- Sender: news@sunb10.cs.uiuc.edu
- Organization: University of Illinois at Urbana-Champaign
- Lines: 36
-
- We have some machines that need /export/home directories mounted by
- machines in a different NIS domain. I want to use a netgroup with
- those machines, but it will not allow the mount if the netgroup is
- listed with access in the /etc/exports file. I can use netgroups
- with machines in the same domain, and the mount is allowed, but not
- the ones in the different domain. Here is how the files are set up.
-
- /etc/netgroup
- zorro (zorro.cecer.army.mil,,cecer.army.mil)
- diego (diego.cecer.army.mil,,cecer.army.mil)
- vinny (vinny.cecer.army.mil,,tac)
- sas_servers zorro diego
- tac_servers vinny
- tac_unix tac_servers tac_sun4 tac_sun3
- tac_sun4 ...
- tac_sun3 ...
-
- # This /etc/exports does not allow zorro or diego to mount the home directory
- /etc/exports
- /export/home/vinny -access=tac_unix:sas_servers
-
-
- # But this /etc/exports does
- /export/home/vinny -access=tac_unix:zorro.cecer.army.mil:diego.cecer.army.mil
-
-
- I know that there is bugs in /etc/netgroups when I tried to use them with
- SonOS 4.0.3, but I was pleased that I made it work with machines in the
- same NIS domain. Can this be fixed or am I just beating my head against the
- wall.
-
- - Jim Pirzyk
- --
- [Jim] pirzyk@uiuc.edu -------------------------------------------
- UNIX System Administrator
- Hello, we're the government and we're here to help you.
-