6-10 Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
([DPSOHRIHWFQHWJURXSV
The following lines show an example of a /etc/netgroups file:
trusted-hosts (adminhost,,)
untrusted-hosts (red,,) (blue,,) (green,,)
all-hosts trusted-hosts untrusted-hosts
([DPSOHRIHWFH[SRUWV8VLQJ1HWJURXSV
The following lines show an example of an /etc/exports file that uses netgroup group
names:
/vol/vol0 -access=trusted-hosts,root=adminhost
/vol/vol0/home -access=all-hosts,root=adminhost
&RS\HWFQHWJURXS:KHQ)LOHU'RHVQ·W8VH1,6
If your filer is not configured as an NIS client, the network groups on the filer are not
linked with NIS.

0XVWFRS\1,6QHWJURXSILOH

You must copy an existing NIS network group over to /vol/vol0/etc/netgroup on the
filer before the exportfs command can use it.

$XWRPDWLQJFRS\LQJZLWKD0DNHILOH

You can modify the Makefile of the NIS master to copy the NIS masters /etc/netgroup
file to the filer when it is changed.

([DPSOH0DNHILOH

The following lines of code in the NIS Makefile section for netgroup.time copy the
/etc/netgroup file to filers named filer1, filer2, and filer3; substitute the name of your
filers in the for list, in place of filer1, filer2, and filer3, and add any other filer names
to which you want the file copied:
@mntdir=/tmp/nac_etc_mnt_$$$$;\
if [ ! -d $$mntdir ]; then rm -f $$mntdir; mkdir $$mntdir; fi;\
for filer in

filer1 filer2 filer3

; do \
mount $$filer:/vol/vol0/etc $$mntdir;\
mv $$mntdir/netgroup $$mntdir/netgroup.bak;\
cp /etc/netgroup $$mntdir/netgroup;\
umount $$mntdir;\
done;\
rmdir $$mntdir