For example, *.handsonhistory.com
would not cause the hostname mallard.duck.handsonhistory.com to be included
in the access list.
NIS groups??”You can allow access to hosts contained in an NIS group. To indicate an NIS
group, precede the group name with an at (@) sign (for example, @group).
NOTE
718
Running Servers Part V
Access Options in /etc/exports
You don??™t have to just give away your files and directories when you export a directory with NFS.
In the options part of each entry in /etc/exports, you can add options that allow or limit access
by setting as read/write permission. These options, which are passed to NFS, are as follows:
ro??”Client can mount this exported file system read-only. The default is to mount the
file system as read/write.
rw??”Explicitly asks that a shared directory be shared with read/write permissions. (If the
client chooses, it can still mount the directory read-only.)
User Mapping Options in /etc/exports
In addition to options that define how permissions are handled generally, you can use options to
set the permissions that specific users have to NFS shared file systems.
One method that simplifies this process is to assign each user with multiple user accounts the
same username and UID on each machine. This makes it easier to map users so that they have
the same permissions on a mounted file system that they do on files stored on their local hard disks.
Pages:
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312