How to handle VSFTPD lab 500OOPS errors

Source: Internet
Author: User

VsftpdAfter a year, I found a VSFTPD error and reported an error. I searched the internet for an explanation.

In addition, the error message is: 500 OOPS: vsftpd: refusing to run with writable anonymous root.

Cause: vsftpd does not allow "dangerous (Insecure)" configurations. The cause of this error is that the owner of the ftp home directory and Its subdirectories and the corresponding permission settings are incorrect.

That is: anon_root =/var/ftp: FTP's home

The owner of the home directory should not be an ftp user, and the ftp user cannot have the write permission. The solution is:

Chown root ~ Ftp; chmod-w ~ Ftp

For example, set anon_root =/var/ftp in the configuration file

Achieve the following results:

/Var/ftp is like this:

Ls-ld ftp

Drwxr-xr-x 4 root 4096 12 21 ftp # The owner and group are both root. The default value is permission755, with the write permission removed.

[Root @ ftp] # ls-l

Drwxrwxr-x 2 ftp 4096 12 21 incoming # The owner and group of sub-directories are ftp, and the permission is related to the purpose of the directory. Because you want to write the content.

Drwxr-xr-x 2 root ftp 4096 12 21 pub # The owner of the read-only directory here is the root group of ftp, and the default is permission755, removing the write permission.

After reading the above, how have you solved this error? Why can't you leave a message for me!

  • Six major vsFTPd cainiao prawns
  • Vsftpd. conf Glossary
  • Vsftpd dummies configuration process
  • Vsftpd Installation Process
  • Speed limit and limit link points for common vsFTPd Functions
  • Common vsFTPd functions: Setting virtual paths and viewing log information
  • Custom welcome information for common vsFTPd Functions

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.