Editing configuration files

What editor to use

The filer does not include a local editor. You must use an editor from a client to change filer configuration files.

Where configuration files reside

Configuration files reside in the /etc directory in the filer's root volume.

Choosing an NFS or a CIFS client

The following table describes which procedure to use to edit configuration files from an NFS client or a CIFS client.

If the client is... Read...
an NFS client "Editing files from an NFS client"
a CIFS client "Editing files from a CIFS client"

The procedure for modifying configuration files is different depending on whether you edit the files from an NFS client or a CIFS client. If you use an NFS client, edit the files from the administration host. If you use a CIFS client, connect to the filer as Administrator.

Editing files from an NFS client

The following table describes how to edit configuration files from an NFS client.

Step Action
1 If the NFS client is... Then...
the administration host Mount the filer root volume to the host.
not the administration host
  1. Mount the filer root volume to 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 to the client.
2 From the client, use a text editor to edit the files in the /etc directory.

Editing files from a CIFS client

The following table describes how to edit configuration files from a CIFS client.

Step Action
1 Connect from a CIFS client to the filer as Administrator. 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.
2 Display the contents of the filer's C$ share and select a file to edit. After setup finished, the filer root directory was shared automatically as C$. The Administrator has read, write, and execute rights to the share. 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.

Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: routine3.htm
Last updated: 04/26/99 08:11:10