From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,7a44cf0078aee641,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,7a44cf0078aee641,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-01-28 13:52:33 PST Xref: sparky comp.sys.dec:1375 comp.unix.ultrix:2245 Newsgroups: comp.sys.dec,comp.unix.ultrix Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!mitl.com!lemke From: lemke@MITL.COM (Kennedy Lemke) Subject: SUMMARY: Help with /etc/exports under Ultrix 4.2 Message-ID: <1992Jan28.211114.25199@MITL.COM> Originator: lemke@narnia.MITL.COM Sender: news@MITL.COM Nntp-Posting-Host: narnia.mitl.com Organization: Matsushita Information Technology Laboratory, Princeton, NJ Date: Tue, 28 Jan 1992 21:11:14 GMT About two weeks ago, I posted the attached note to this newsgroup. I received no responses to this posting (except for three requests to forward any information I received). That I received no responses indicates one of several things: (a) it can't be done, (b) it can be done but no one who reads the newsgroup knows how, (c) it can be done and people know how, but no one bothered to tell me how. I did speak to a friend who knows Ultrix pretty well and who indicated that it just can't be done. But he offered a workaround. The workaround is that under Ultrix, unlike SunOS, one can export subdirectories of already-exported directories or file systems. I will take this route, and export the subdirectories with root access to the few machines I want to have that feature. Many thanks to bill@soil.Princeton.EDU for offering this workaround. Kennedy Lemke > I have just completed upgrading from Ultrix 4.1 to Ultrix 4.2 > on 22 of our 23 DEC 5000/200 workstations; I'm pleased to say > that it went well and that our community here is quite happy > with some of the new features of 4.2 (CDROM support, dual heads > under the MPX upgrade, etc.). > > I'm now preparing to upgrade the last of my systems--our file > server system, and I have one question about the /etc/exports > file. Under 4.1, I could give root access to a couple special > machines but user-level access only to the rest of the clients > by specifying multiple occurrences of the same exported file system > in /etc/exports. Example: > > /usr -r=0 foo1 > /usr foo2 foo3 > > foo1 has root access but foo2 and foo3 have user-level access only > (this works, despite the fact that the man page stated the contrary). > Under 4.2 however, one cannot specify an exported file system multiple > times in the exports file; thus I now specify user-level access with: > > /usr foo2 foo3 foo4 > foo5 foo6 foo7 > > But how do I specify root access for one or two special machines, and > user-level access only for the rest? Under SunOS, you do this: > > /usr -root=foo1,access=foo2:foo3:foo4 > > What is the syntax for the equivalent thing under Ultrix 4.2? > The man page was not helpful in this regard, I did not see a > discussion of this in the Ultrix 4.2 Release notes, and I have > not been successful in the various incantations I have experimented > with. Can someone help me please? Thanks. > > Kennedy Lemke -- Network and UNIX Systems Administrator Matsushita Information Technology Laboratory Work Phone: (609) 497-4600 Internet: lemke@MITL.COM Fax Phone: (609) 497-4013 uucp, BITNET: coming soon to a theater near you