The /home entry enables a set of users to have the same /home directory on different computers.
Say, for example, that you are sharing /home from a computer named oak. The computers named
maple and spruce could each mount that directory on their own /home directories. If you gave all
users the same username/UIDs on all machines, you could have the same /home/user directory
available for each user, regardless of which computer they are logged into. The uids=0??“99 entry
is used to exclude any administrative login from another computer from changing any files in the
shared directory.
These are just examples; you can share any directories that you choose, including the entire file
system (/). Of course, there are security implications of sharing the whole file system or sensitive
717
Running a File Server 27
parts of it (such as /etc). Security options that you can add to your /etc/exports file are
described throughout the sections that follow.
Hostnames in /etc/exports
You can indicate in the/etc/exports file which host computers can have access to your shared
directory. If you want to associate multiple hostnames or IP addresses with a particular shared directory,
be sure to have a space before each hostname. However, add no spaces between a hostname
and its options.
Pages:
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310