Vsftpd. conf file in Linux

Source: Internet
Author: User
Article Title: vsftpd. conf file in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Description:

Vsftpd. conf is the configuration file of vsftpd. It is used to control vsftpd functions. By default, it is located at/etc/vsftpd. conf or/etc/vsftpd. conf.

However, you can also specify other directories by modifying the configuration line. This is useful because you may want to use some advanced inetd functions, such as xinetd, to call different configuration files on a machine with multiple virtual hosts.

Format

The format of vsftpd. conf is very simple. Each line is either a comment or a command. The comment line starts with # And is ignored. The command line format is as follows:

Configuration item = parameter value

It is very important that there is no space in this format.

By default, each configuration item occupies an editing line in the configuration file and can be modified.

Boolean Option

The Boolean options of the parameter value can be YES or NO.

Allow_anon_ssl

This option can be enabled only when ss1_enable is activated. If YES, Anonymous Users are allowed to connect to the server using secure SSL.

Default Value: NO

Anon_mkdir_write_enable

If set to YES, Anonymous Users are allowed to create new directories in the specified environment. To take effect, the write_enable configuration must be activated, and anonymous users must have the write permission in their parent directory.

Default Value: NO

Anon_other_write_enable

If YES, anonymous users are granted a large write permission, such as deleting and renaming. This is generally not recommended unless you want to grant full authorization. You can also implement control with cmds_allowed to achieve the file Resume function.

Default Value: NO

Anon_upload_enable

If set to YES, Anonymous Users are allowed to upload files in the specified environment. To take effect, write_enable must be activated. And anonymous users must have the write permission in the relevant directory.

Default Value: NO

Anon_world_readable_only

When enabled, anonymous users can only download fully readable files, which allows ftp users to have ownership of the files, especially when uploading files.

Default Value: YES

Anonymous_enable

Checks whether anonymous users are allowed to log on. If yes, both "ftp" and "anonymous" will be considered "anonymous" and Allow logon.

Default Value: YES

Ascii_download_enable

When enabled, files are transmitted in ASCII mode during download.

Default Value: NO

Ascii_upload_enable

When enabled, files are transmitted in ASCII mode during upload.

Default Value: NO

Async_abor_enable

When enabled, a special FTP command "async ABOR" is allowed. This is only required for abnormal FTP clients. In addition, this function is difficult to operate, so,

It is disabled by default. However, some clients will be suspended when canceling a transfer (daidong Note: it is estimated that the client has no response). You can only enable this function to avoid this situation.

Default Value: NO

Background

When enabled, and VSFTPD is started in "listen" mode (daidong Note: standalone mode), VSFTPD will place the listening process in the background. However, when you access VSFTPD, the console will be immediately returned to the SHELL.

Default Value: NO

Check_shell

Note: This option is only valid for VSFTPD of non-PAM structures. If it is disabled, VSFTPD does not check/etc/shells to determine whether a locally logged-on user has an available SHELL.

Default Value: YES

Chmod_enable

When enabled, the site chmod command is allowed. Note: this can only be used for local users. Anonymous Users cannot use site chmod.

Default Value: YES

Chown_uploads

If this feature is enabled, the owner of the File Uploaded by an anonymous user will be the user specified in chown_username. This is useful for managing FTP and may also be beneficial to security.

Default Value: NO

Chroot_list_enable

If activated, you need to provide a list of users. The users in the table will be placed in the home directory after login and locked under the virtual root (daidong Note: After Entering FTP, PWD a bit, you can see that the current directory is "/", which is the virtual root. Is the FTP root directory, not the FTP server system root directory ). If chroot_local_user is set to YES, its meaning changes a bit.

In this case, users in this list will not be locked under the virtual root.

By default, the list file is/etc/vsftpd. chroot_list, but you can change the default value by modifying chroot_list_file.

Default Value: NO

Chroot_local_user

If it is set to YES, the local user will be (by default) locked under the virtual root and placed in his home directory after logon.

Warning:

This configuration item is safe, especially if the user has the upload permission or can use SHELL. Enable it if you are sure.

Note: This security hint does not only exist in VSFTPD, but is widely used in all FTP software that wants to lock users under the virtual root.

Default Value: NO

[1] [2] [3] [4] [5] [6] Next page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.