Network File Services  «Prev  Next»

Configuring an NFS Server - Exercise

Objective: Configure an NFS server.

Scoring

This exercise is unscored. It's a good opportunity for you to check your understanding of how to configure an NFS server. When you have completed the exercise, click the Submit button to receive credit for having completed it.

Background | Overview

Your manager has asked you to make all of your company's source code available. You have decided to use NFS to accomplish the task. The NFS server should export the /proj directory as read/write to all hosts in the mycompany.com domain.

Instructions

You will need to configure NFS through /etc/exports to allow all hosts in the mycompany.com domain read/write access to /proj.
Question: What line would you put in /etc/exports to export /proj, read/write, to all hosts in the mycompany.com domain?
"/proj *.mycompany.com(rw)"
Explanation:

Now answer the following questions:

  1. Why is using wildcards in /etc/exports a bad idea?
  2. When would you want to export the root filesystem (/), and with what permissions?

Submitting your answer

There's nothing to submit with this exercise. When you have answered the questions above, click the Submit button to see a results page.