Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Configuring FTP preferences

As part of the process of setting up FTP, choose a service for authenticating the passwords of the FTP users. Also, a timeout must be set with which to end FTP sessions that have been inactive.

Procedure

  1. Navigate to Home File Services FTP Configuration to display the FTP Configuration page.

    GUID-F9A62D6F-E41D-4D91-9421-87932DDA0474-low.png

    Field/Item Description
    Password Authentication Services The configured security mode determines what password authentication service methods can be used.
    • NT

      If selected, FTP users must log in with an NT domain user name and password, which is authenticated via a domain controller.

    • NIS

      If selected, FTP users must log in with a UNIX user name and password, which is authenticated via a NIS server in the configured NIS domain.

    If both services are enabled, the FTP user will be authenticated against the configured NT domain first. If authentication fails, the server will attempt to authenticate the user against the configured NIS domain.

    If both NT and NIS are not selected, then authentication will not be performed using these methods and only the anonymous user will be able to log in.

    Anonymous User Permissions Specifies whether read-write is allowed for anonymous requests. Fill the ReadOnly check box to limit anonymous requests to read only.
    Session Timeout The number of minutes of inactivity after which to end an FTP session automatically (the Timeout). The valid range is from 15 to 14,400 minutes.
    apply Applies the configuration changes without closing the page.
  2. In the Password Authentication Services area, fill the check box for NT or NIS.

    If operating in UNIX or Mixed security mode, both NT and NIS password authentication are supported. If both services are enabled, the FTP user will be authenticated against the configured NT domain first. If authentication fails, the server will attempt to authenticate the user against the configured NIS domain.
  3. Enter the Session Timeout value.

    The valid range is between 15 and 35,000 minutes (35,000 minutes = 24 days).

  4. Specify whether read-write is allowed for anonymous requests. Fill the ReadOnly check box to limit anonymous requests to read only.

  5. Click apply.

Displaying FTP users

FTP users can be manually set up or display their details can be imported from a file.

Procedure

  1. Navigate to Home File Services FTP Users to display the FTP Users page.

    GUID-6AB323F2-9EE5-4494-8DE7-834A2FD0F6C6-low.png

    The following table describes the fields on this page:

    Field/Item Description
    EVS / File System Label

    This field displays the EVS and File System where the FTP users listed on the page have been configured.

    change Click the change button to select a different file system.
    Filter The filter button allows you to filter the users based on user Name or Path.
    Name This column displays the existing FTP users. Up to 5000 users can be listed, but the FTP user list displays a maximum of 20 users per page. Use filter to control the display of users.
    File System Shows the file system containing the FTP user's initial directory path.
    Path Shows the path to the initial directory for the user after logging in over FTP.
    details Opens the FTP User Details page, allowing you to modify certain details about the selected user.
    add Opens the Add FTP User page, allowing you to set up a new user.
    delete Deletes the selected user.
    Import Users Opens the Import FTP Users page, allowing you to set up new users by importing them from a file.

Adding an FTP user

You can add an FTP user in the NAS Manager.

  1. Navigate to Home File Services FTP Users to display the FTP Users page.

  2. Click add to display the Add User page.

    GUID-277F952F-5FF8-4453-B606-C2C474502F47-low.png

    The following table describes the fields on this page:

    Field/Item Description
    EVS / File System Displays the selected file system.
    change Enables you to select a different EVS / File System.
    User Name The name with which the user is to log in. To allow anonymous logins to the mount point, specify the user name as anonymous or ftp.
    Initial Directory for the user The directory in which the user starts when logging in over FTP. Click browse to navigate to and insert the path.
    NoteAutomatically created directories are owned by the root user and group (UID:0 / GID:0) and are accessible to all users (that is, the permissions are set to rwxrwxrwx). It is recommended that these directories are created through CIFS or NFS, or that they are given the desired permissions explicitly after being created using this option.
    Path Options The Create path if it does not exist option creates the path automatically when it does not already exist. If the file system is mounted read-only, for example it is an object replication target, it is not possible to create a new directory. Select a path to an existing directory.
  3. Enter the user name. To allow anonymous logins to the mount point, specify the user name as anonymous or ftp.

    The password authentication service that you use determines whether users must log in with their NT domain name or UNIX user name.
  4. In the Initial Directory for the user field, type the path to the directory in which the user starts when he or she logs in over FTP.

    NoteAutomatically created directories will be owned by the root user and group (UID:0 / GID:0) and will be accessible to all users (that is, the permissions are set to rwxrwxrwx). It is recommended that such directories are created using SMB or NFS, or that such directories are given the desired permissions explicitly after being created with this option.
  5. To create the path automatically when it does not already exist, select the Create path if it does not exist check box.

  6. Click OK.

Importing an FTP user

You can import an FTP user in the NAS Manager.

  1. Navigate to Home File Services FTP Users.

  2. Click Import FTP Users to display the Import FTP Users page.

    GUID-4AC0CD70-6CE6-478E-8F15-96096CF5B308-low.png

    The following table describes the fields on this page:

    Field/Item Description
    Filename The name of the file to import. Use the Choose File button to select the file.
    Import Click to import the file.
  3. In the Filename field, enter the file name that contains the user details, or click Browse to search for the file name.

    The user details in the import file have the following syntax:

    user_name file_system initial_directory

    Each entry must be separated by at least one space. If either the user_name or initial_directory contains spaces, the entry must be within double-quotes. For example:

    carla Sales /Sales/Documents
    miles Sales "/Sales/Sales Presentations"
    john Marketing /Marketing

    If you cannot be certain that the initial directory exists, you can create it automatically by specifying the option ENSURE_PATH_EXISTS on a separate line in the file. For example:

    ENSURE_PATH_EXISTS true
    carla Sales /Sales/Documents
    miles Sales "/Sales/Sales Presentations"
    ENSURE_PATH_EXISTS false
    john Marketing /Marketing

    In the first instance of the ENSURE_PATH_EXISTS option, the true attribute turns on the option, and it applies to the two following entries until the option is turned off by the second instance of the option, with the attribute false. The default for the ENSURE_PATH_EXISTS option is true so that the initial directory is automatically created.

    To insert a comment in the file, precede it with a hash character (#).

    NoteAutomatically created directories will be owned by the root user and group (UID:0 / GID:0) and will be accessible to all users (that is, the permissions are set to rwxrwxrwx). We recommend that such directories are created via CIFS or NFS, or that such directories are given the desired permissions explicitly after being created via this option.
  4. Click Import.

Modifying FTP users

You can modify FTP users in the NAS Manager.

  1. Navigate to Home File Services FTP Users.

  2. Fill the check box next to the user to display or modify, and click details.

    The following table describes the fields on this page:

    Field/Item Description
    File System Displays the file system which owns the FTP user.
    Change Click change to select a different file system.
    User Name Displays the FTP user name.
    Initial Directory for the user This directory is the location where the user starts after logging in over FTP. You can change the directory by typing the path to the new directory. You can click the browse button to find the required directory. This directory is the location where the user starts after logging in over FTP.

    NoteAutomatically created directories are owned by the root user and group (UID:0 / GID:0) and are accessible to all users (that is, the permissions are set to rwxrwxrwx). It is recommended that such directories are created using CIFS or NFS, or that such directories are given the desired permissions explicitly after being created by this option.
    Path Options Click the Create path if it does not exist check box to create the path automatically when it does not already exist. If the file system is mounted read-only, for example it is an object replication target, it is not possible to create a new directory. Select a path to an existing directory.
  3. Modify settings as needed:

    • In the File System field, you can click change to select a different file system.

    • In the Initial Directory for the user field, you can change the directory by typing the path to the new directory. You can click the browse button to find the desired directory. This directory is the location where the user starts after logging in over FTP.
    • In the Path Options box, you can fill the check box Create path if it does not exist to create the path automatically when it does not already exist.
  4. Click OK.

 

  • Was this article helpful?