Prev | Current Page 1302 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

For example, anonuid=175 sets all anonymous
users to UID 175, and anongid=300 sets the GID to 300. (Only the number is displayed
when you list file permissions unless you add entries with names to /etc/password and
/etc/group for the new UIDs and GIDs.)
 User mapping??”If a user has login accounts for a set of computers (and has the same ID),
NFS, by default, maps that ID. This means that if the user named mike (UID 110) on
maple has an account on pine (mike, UID 110), he can use his own remotely mounted
files on either computer from either computer.
TIP
719
Running a File Server 27
If a client user who is not set up on the server creates a file on the mounted NFS directory,
the file is assigned to the remote client??™s UID and GID. (An ls -l on the server
shows the UID of the owner.) Use the map_static option to identify a file that contains
user mappings.
The exports man page describes the map_static option, which enables you to create
a file that contains new ID mappings so that you can remap client IDs into different
IDs on the server.
Exporting the Shared File Systems
After you have added entries to your /etc/exports file, run the exportfs command to have
those directories exported (made available to other computers on the network). Reboot your
computer or restart the NFS service, and the exportfs command runs automatically to export
your directories.


Pages:
1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314