Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Finally, all the file permissions are 777,selinux is also disabled,I really do not understand in the end is that where there is wrong, hoping to get everyone's help in this. Thank you!
Please tell me I'm not seeing that in your vsftpd.conf.
Please, please, PLEASE tell me this computer is not accessible in any way, shape or form from the internet.
vsftpd.conf configuration above, the server can access anywhere, this is a very strange question, I tested for a long time still did not find a solution.
vsftpd.conf configuration above, the server can access anywhere, this is a very strange question, I tested for a long time still did not find a solution.
Had you restarted your server after you disabled your selinux?
what is the location of this directory you are trying to delete?
vsftpd.conf configuration above, the server can access anywhere, this is a very strange question, I tested for a long time still did not find a solution.
No, its not a strange question. With those configuration options you are running a very high risk of giving random users root access to your machine. Not good.
Quote:
guest_username=root
This means that anyone who logs into your sftp server is made root. Since ftp transmits usernames and passwords as clear text, anyone sniffing your server will have a pretty easy time taking it over.
Quote:
Finally, all the file permissions are 777,selinux is also disabled,
If making any user root isn't bad enough, you've now removed absolutely any barrier to someone installing and running whatever they jolly well please on your machine.
In short, if your machine hasn't been thoroughly compromised already, it is only a matter of time before it is. And you've laid out the welcome mat for the bad guys.
Maybe you should lay out the overall goal you're trying to accomplish and we can suggest a way that doesn't involve giving root access to the planet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.