FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


Sidebar


Top     SiteMap

Manager Server

Target Server

$FHHOME/bin/xxx.sh | xxxx.exp













.

middleware:vsftpd:conf101.html



vsftpd (vsftpd.py)

vsftpd Sample Configuration with user_list

/etc/vsftpd/vsftpd.conf

#===============================================
# User
#===============================================
anonymous_enable=NO
# Uncomment this to allow local users to log in.
local_enable=NO

userlist_enable=YES
userlist_deny=NO

#------------------------------------------------
write_enable=YES

# 022 -> chmod 755 xxxx
local_umask=022

#messages given to remote users when they go into a certain directory.
dirmessage_enable=NO

# Activate logging of uploads/downloads.
xferlog_enable=YES

connect_from_port_20=YES

# If you want, you can have your log file in standard ftpd xferlog format.
# Note that the default log file location is /var/log/xferlog in this case.
# No is vsftpd format.
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
use_localtime=YES

chroot_local_user=YES

listen=YES
#listen_ipv6=YES

pam_service_name=vsftpd

tcp_wrappers=YES


user_list

# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
# for users that are denied.

ftpuser01
ftpuser02


vsftpd (vsftpd.py)





vsftpd (vsftpd.py)



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