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

Related configuration of vsftp

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

profile

vim /etc/vsftpd/vsftpd.conf

#Allow anonymous access NOanonymous_enable=NO#Allow local account login YESlocal_enable=YES#Account login writable YESwrite_enable=YESlocal_umask=022dirmessage_enable=YES#Open log xferlog_enable= YES#Specify FTP server to use port 20 for data transfer connect_from_port_20=YES#Log file location xferlog_file=/var/log/xferlog#Log file format xferlog_std_format=YESvsftpd_log_file=/var/log/vsftpd.logchroot_local_user=NO#Open chroot_list, chroot_list file, cannot leave the directory (home directory) chroot_list_enable=YES#chroot_list file location chroot_list_file=/etc/vsftpd/chroot_listlisten=YES##Set default location for FTP user login, local_root=/data/www/pam_service_name=vsftpd#used in conjunction with userlist_deny Access to userlist_enable=YESuserlist_deny=YEStcp_wrappers=NO can be restricted to users in the/etc/vsftpd/ftpuser file and user_list file

For the role and effect of userlist_enable parameter and userlist_deny parameter settings, please refer to

http://blog.csdn.net/chengqiuming/article/details/70139671

permissions issues

553 error is displayed when uploading using FTP. Generally, the file/folder permissions in the server are incorrect. Check the following two places.

1. Whether the folder belongs to the same group as the user

2. Whether the group permission of this folder can be written

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