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

How to install and configure vsftpd under ubuntu14.04 LTS

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

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install and configure vsftpd under ubuntu14.04 LTS, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.

Vsftpd is a commonly used ftp server side, and there are many documents on the Internet. It can be used very little, which wastes a lot of time.

Now record the process of installing the configuration:

Environment:

Ubuntu 14.04.2 LTS

Installation:

Sudo apt-get-y updatesudo apt-get-y install vsftpd

Configuration:

Vim / etc/vsftpd.conf

Deny anonymous user login:

Anonymous_enable=NO

Allow local users to log in:

Local_enable=YES

Allow logged-in users to create folders:

Write_enable=YES

Users are not allowed to switch to higher-level directories other than home directories:

Chroot_local_user=YES

Create user and home directories:

Useradd ftpuser-s / bin/false-d / home/ftp-mchmod Amurw / home/ftpmkdir / home/ftp/fileschown ftpuser:ftpuser / home/ftp/filesecho'/ bin/false' > > / etc/shells

Restart vsftpd:

Service vsftpd restart thank you for reading this article carefully. I hope the article "how to install and configure vsftpd under ubuntu14.04 LTS" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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