- Table of Contents
- Copyright
- About the Lead Authors
- About the Contributing Authors
- Acknowledgments
- Tell Us What You Think!
- Introduction
- I. Red Hat Linux Installation and User Services
- Chapter 1. Introduction to Red Hat Linux
- Chapter 2. Installation of Your Red Hat System
- Chapter 3. LILO and Other Boot Managers
- Chapter 4. Configuring the X Window System, Version 11
- Chapter 5. Window Managers
- Chapter 6. Connecting to the Internet
- Chapter 7. IRC, ICQ, and Chat Clients
- Chapter 8. Using Multimedia and Graphics Clients
- II. Configuring Services
- Chapter 9. System Startup and Shutdown
- Chapter 10. SMTP and Protocols
- Chapter 11. FTP
- Chapter 12. Apache Server
- Chapter 13. Internet News
- Chapter 14. Domain Name Service and Dynamic Host Configuration Protocol
- Chapter 15. NIS: Network Information Service
- Chapter 16. NFS: Network Filesystem
- Installing NFS
- Starting and Stopping the NFS Daemons
- Configuring NFS Servers and Clients
- Exporting Filesystems with linuxconf
- Complete Sample Configuration Files
- Summary
- Chapter 17. Samba
- III. System Administration and Management
- Chapter 18. Linux Filesystems, Disks, and Other Devices
- Chapter 19. Printing with Linux
- Chapter 20. TCP/IP Network Management
- Chapter 21. Linux System Administration
- Chapter 22. Backup and Restore
- Chapter 23. System Security
- IV. Red Hat Development and Productivity
- Chapter 24. Linux C/C++ Programming Tools
- Chapter 25. Shell Scripting
- Chapter 26. Automating Tasks
- Chapter 27. Configuring and Building Kernels
- Chapter 28. Emulators, Tools, and Window Clients
- V. Appendixes
- A. The Linux Documentation Project
- B. Top Linux Commands and Utilities
- C. The GNU General Public License
- D. Red Hat Linux RPM Package Listings
Exporting Filesystems with linuxconf
linuxconf is a very handy tool for setting up NFS shares as it saves you having to learn the exact syntax that is used in /etc/exports.
Type linuxconf at the prompt. Go to Networking, Server Tasks, and then Exported File Systems (NFS).
You are presented with a list of all the paths you are currently exporting (see Figure 16.1). Obviously at present the list is empty. For each path that you want to export you will add it here. Each of these is then added to /etc/exports. Click Add, and the dialog box shown in Figure 16.2 displays.
Figure 16.1 List of filesystems exported by NFS.
Figure 16.2 Options for NFS export.
Under Path to Export enter the full path to the directory you want to export. There is a place to enter a comment; this is optional. You are asked for the Client name(s) to export to. There are four types of entries that you can use here. These were explained earlier, in the section "Setting Up the /etc/exports File."
You are presented with options for the share. If you select May Write, the user on the client will be able to write to files in the exported directory providing that the file's permissions allow them to do so. Root Privileges gives root on the client root privileges in the exported directory. This puts a lot of trust in root on the client machine. You can leave Request Access from Secure Port selected.
You may of course want to have different permissions for different clients. That is why there is more than one place to enter a client name and its permissions. By default there are two places for entering a client and its permissions. You can have as many as you wish—just click Add and another entry will be created.
Now save your changes and exit linuxconf. Make sure to accept changes whenever presented with the option.
Complete Sample Configuration Files | Next Section

Account Sign In
View your cart