Vsftpd anonymous users cannot download

Source: Internet
Author: User

After logging on with an anonymous user, upload the file and ask another anonymous user to download the file. The result shows that the permission is insufficient.

Changed anon_umask = 022. And cannot be downloaded. So you can add anon_other_write_enable = yes. This row adds write permissions for anonymous users. Users can delete files and modify file names.

Attached: anonymous user settings

Anonymous_enable = Yes | no </PRE>

  • Checks whether anonymous users are allowed to log on. Yes indicates yes. No indicates no. The default value is yes.

Ftp_username = </PRE>

  • The system username used by anonymous users. By default, this parameter is not displayed in the configuration file and its value is FTP.

No_anon_password = Yes | no </PRE>

  • Controls whether anonymous users need a password when logging on. Yes, no. The default value is no.

  

Deny_email_enable = Yes | no </PRE>

  • The default value of this parameter is no. When the value is yes, anonymous users who use the banned_email_file parameter to specify the e-mail address listed in the file for Logon are denied. That is, anonymous users are denied logon by using the e-mail listed in the banned_email_file file. Obviously, this is effective for blocking some DoS attacks. When this parameter is valid, You need to append the banned_email_file parameter.

Banned_email_file =/etc/vsftpd. banned_emails </PRE>

  • Specifies the file containing the rejected email address. The default file is/etc/vsftpd. banned_emails.

Anon_root = </PRE>

  • Set the root directory of the anonymous user, that is, the root directory of the anonymous user. The default value is/var/FTP /.

Anon_world_readable_only = Yes | no </PRE>

  • Controls whether only anonymous users are allowed to download readable documents. Yes. Only anonymous users are allowed to download readable files. No. allows anonymous users to browse the file system of the entire server. The default value is yes.

Anon_upload_enable = Yes | no </PRE>

  • Controls whether anonymous users are allowed to upload files. Yes, no, no, default value: No. In addition to this parameter, an anonymous user needs two conditions to upload a file: 1. The write_enable parameter is yes; 2. on the file system, anonymous FTP users have write permission on a directory.

Anon_mkdir_write_enable = Yes | no </PRE>

  • Controls whether anonymous users are allowed to create new directories. Yes indicates yes. No indicates no. By default, no indicates no. Of course, in the file system, anonymous ftp users must have the write permission on the upper-level directory of the new directory.

Anon_other_write_enable = Yes | no </PRE>

  • Controls whether anonymous users have permissions other than uploading and creating directories, such as deleting and renaming. Yes. No. The default value is no.

Chown_uploads = Yes | no </PRE>

  • Whether to modify the ownership of the files uploaded by anonymous users. Yes, the ownership of the files uploaded by anonymous users will be changed to that of another different users. The user is specified by the chown_username parameter. The default value of this option is no.

Chown_username = Whoever </PRE>

  • Specifies a user with the ownership of the uploaded files by an anonymous user. This parameter is used with chown_uploads. Root users are not recommended.

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.