Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to the occurrence of 500OOPS in vsFTPd server login

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article is to share with you about the vsFTPd server login 500 OOPS solution, the editor feels very practical, so share with you to learn, I hope you can get something after reading this article, say no more, follow the editor to have a look.

500 OOPS: vsftpd: refusing to run with writable anonymous root

If we have already started the vsFTPd server, the login test will show a prompt similar to the following

500 OOPS: vsftpd: refusing to run with writable anonymous root

This means that the permissions of the ftp user's home directory are incorrect and should be corrected.

[root@localhost ~] # more / etc/passwd | grep ftp ftp:x:1000:1000:FTP User:/var/ftp:/sbin/nologin

We found that the home directory of ftp users is in / var/ftp. This is because the permissions of / var/ftp are incorrect, and the permissions of this directory cannot be opened. It is because you have run chmod 777 / var/ftp. If you do not have the home directory of ftp users, of course you have to build one yourself.

The following FTP users' home directories are not completely open to all users, user groups and other user groups

[root@localhost] # ls-ld / var/ftp drwxrwxrwx 3 root root 4096 2005-03-23 / var/ftp

To correct this mistake, the following methods should be used.

[root@localhost ~] # chown root:root / var/ftp [root@localhost ~] # chmod 755 / var/ftp

Some brothers may say, what about the readability, downloading and uploading of anonymous users? This is also simple, create another directory under / var/ftp, permission is 777 on the line, and then change the vsftpd.conf to OK; it is not difficult

For security reasons, vsFTPd is not allowed to allow the permissions of ftp users' home directories to be completely unlimited. You can read the vsFTPd documentation to understand it; otherwise, it cannot be called the most secure FTP server, right?

The above is the solution to the 500 OOPS login of the vsFTPd server. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report