1855862 Members
2576 Online
104107 Solutions
New Discussion

/etc/exports template

 
frederick hannah
Super Advisor

/etc/exports template

Where can I find an example of the /etc/exports file?
5 REPLIES 5
spex
Honored Contributor

Re: /etc/exports template

Hi Frederick,

From exports(4):

/usr/games cocoa fudge # export to only these machines
/usr -access=clients # export to my clients
/usr/local # export to the world
/usr2 -access=bison:deer:pup # export to only these machines
/var/adm -root=bison:deer # give root access only to these
/usr/new -anon=0 # give all machines root access
/usr/temp -rw=ram:alligator # export read-write only to these
/usr/bin -ro # export read-only to everyone
/usr/stuff -access=bear,anon=-2,ro # several options on one line
/usr/subnet -access=@mysubnet #use mysubent in /etc/networks
/usr/subnet1 -access=@192.5 #clients must be in the 192.5.0.0 subnet
/usr/domain -access=.myd.myc.com #clients must be in .myd.myc.com
/usr/restrict -access=-host1.myd.myc.com:sales # disallow -host1 in the sales netgroup.

PCS
Shashi Bhargava
Advisor

Re: /etc/exports template

hi,

# cat /etc/exports
/var/opt/ignite/clients -anon=2
/data1 -root=qa02,access=qa02
/data2 -root=qa02,access=qa02
/data3 -root=qa02,access=qa02
/archive -root=qa02,access=qa02

thanks
Gurumanickam
Frequent Advisor

Re: /etc/exports template

# cat /etc/exports
/var/opt/ignite/clients -anon=2
/data1 -root=mac,access=mac
/data2 -root=mac02,access=mac02
/data3 -root=mac,access=mac
/archive -root=mac02,access=mac02

Thanks

Be an expert
frederick hannah
Super Advisor

Re: /etc/exports template

Great stuff guys. It gives me a reference point. I appreciate it.
frederick hannah
Super Advisor

Re: /etc/exports template

again, thanks