FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:vsftpd:conf101.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
middleware:vsftpd:conf101.html [2018/02/06 00:51]
kurihara created
middleware:vsftpd:conf101.html [2018/02/08 01:15]
kurihara
Line 1: Line 1:
 [[middleware:vsftpd:index.html]] [[middleware:vsftpd:index.html]]
-====== VSFTPD Default Configuration /etc/vsftpd/vsftpd.conf ======+====== vsftpd Sample Configuration with user_list ======
  
 \\ \\
Line 6: Line 6:
 \\ \\
  
-===== CentOS7 ===== +===== /etc/vsftpd/vsftpd.conf =====
-==== /etc/vsftpd/vsftpd.conf ====+
  
 <sxh apache toolbar:false gutter:false> <sxh apache toolbar:false gutter:false>
Line 22: Line 21:
 #------------------------------------------------ #------------------------------------------------
 write_enable=YES write_enable=YES
-# 022 -> 755+ 
 +# 022 -> chmod 755 xxxx
 local_umask=022 local_umask=022
  
Line 30: Line 30:
 # Activate logging of uploads/downloads. # Activate logging of uploads/downloads.
 xferlog_enable=YES xferlog_enable=YES
 +
 connect_from_port_20=YES connect_from_port_20=YES
  
Line 36: Line 37:
 # No is vsftpd format. # No is vsftpd format.
 xferlog_std_format=NO xferlog_std_format=NO
 +
 +# By default the server will pretend to allow ASCII mode but in fact ignore
 +# the request. Turn on the below options to have the server actually do ASCII
 +# mangling on files when in ASCII mode.
 +ascii_upload_enable=YES
 +ascii_download_enable=YES
 +
  
 # Default is GMT. So change to localtime # Default is GMT. So change to localtime
 use_localtime=YES use_localtime=YES
  
-listen=NO +chroot_local_user=YES 
-listen_ipv6=YES+ 
 +listen=YES 
 +#listen_ipv6=YES
  
 pam_service_name=vsftpd pam_service_name=vsftpd
Line 50: Line 60:
  
 \\ \\
-==== user_list ====+===== user_list =====
 <sxh apache toolbar:false gutter:false> <sxh apache toolbar:false gutter:false>
 # vsftpd userlist # vsftpd userlist


middleware/vsftpd/conf101.html.txt · Last modified: 2018/02/08 01:15 by kurihara