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 understand vsftpd under ubuntu

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

This article will explain in detail how to understand vsftpd under ubuntu. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

Ftp user New and Authorization Control Directory

1.sudo mdkir / webapp/name/name

2.sudo adduser name1 and setting password

Add name1 after 3.sudo vi / etc/vsftpd.chroot_list

Add name1 after 4.sudo vi / etc/allowed_users

5.cd / etc/vsftpd_user_conf

6.sudo vi / etc/vsftpd_user_conf/name1

The content is specified for the parameters of the FTP user:

Local_root=/webapp/name

Write_enable=YES

Change 7.sudo vi / etc/passwd,shell to: / usr/sbin/nologin

8.sudo chmod a murw / webapp/name

9.sudo chown name1:root / webapp

That's fine. Mainly depends on directory permissions

Of course, if you always report wrong incorrect, you should pay attention to using adduser to create new users instead of useradd. Of course, I don't know the difference, but it is true that sometimes users who apply with useradd are not good..

On how to understand the vsftpd under ubuntu to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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

Network Security

Wechat

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

12
Report