Library Table of Contents Index Previous Next Comments

Understanding the filer's default volume

Editing configuration files

Configuration files must be edited from clients  Top

Data ONTAP does not include an editor. You cannot edit files using the system console or by establishing a Telnet session to the filer. You must use an editor from an NFS client or a CIFS client to edit filer configuration files.

Enabling an NFS client to edit configuration files  Top

For an NFS client to edit configuration files, the client must be authorized to access the root file system.

If the NFS client was specified as the administration host during setup or added as an administration host after setup was completed, it is already authorized to access the root file system.

If the NFS client is not specified as an administration host, complete the following steps to authorize access to the root file system.

Step

Action

1

Mount the filer root volume on the administration host.

2

From the administration host, edit the /etc/exports file on the root volume to grant root permission to the client.

3

Use the filer console, a Telnet client, or the rsh command to issue the following command to the filer:

exportfs
4

Mount the filer root volume on the client.

Editing configuration files from an NFS client  Top

To edit configuration files from an NFS client, complete the following step.

Step

Action

1

From the client, use a text editor to edit the files in the /etc directory.

Editing configuration files from a CIFS client  Top

After setup finished, the default /etc/passwd and /etc/group files on the root volume were set up to enable you to share files on the filer as Administrator. The filer root directory was shared automatically as C$. The Administrator has read, write, and execute rights to the share.

Note
The C$ share is a "hidden" share; you can get to it only by specifying the path manually (for example, as \\filer\C$), rather than accessing it through the Network Neighborhood icon.

To edit configuration files from a CIFS client, complete the following steps.

Step

Action

1

Connect from a CIFS client to the filer as Administrator.

2

Display the contents of the filer's C$ share and select a file to edit.

Configuration files that should not be edited  Top

When you configure Data ONTAP, it creates some files that you should not edit. The following configuration files should not be edited.

Library Table of Contents Index Previous Next Comments