Introduction: # Youmayactivatethe "-R" optiontothebuiltinls.Thisisdisabledby # defaulttoavoidremoteusersbeingabletocauseexcessiveI / Oonlarge # sites.However, somebrokenFTPclientssuchas "ncftp" and "mirror" assume # thepresenceofthe "-R" option, sothereisastrongcaseforenablingit. ...
High-availability configuration with the tar package vsftp (below)
3, with a mesh
1, my / etc / vsftpd.conf contents of the file
The following quote of content:
[quote: 93f3c4a2db] # Exampleconfigfile / etc / vsftpd.conf
#
# Thedefaultcompiledinsettingsarefairlyparanoid.Thissamplefile
# loosensthingsupabit, tomaketheftpdaemonmoreusable.
# Pleaseseevsftpd.conf.5forallcompiledindefaults.
#
# READTHIS: ThisexamplefileisNOTanexhaustivelistofvsftpdoptions.
# Pleasereadthevsftpd.conf.5manualpagetogetafullideaofvsftpd 's
# capabilities.
#
# AllowanonymousFTP? (Beware-allowedbydefaultifyoucommentthisout).
anonymous_enable = NO
#
# Uncommentthistoallowlocaluserstologin.
local_enable = YES
#
# UncommentthistoenableanyformofFTPwritecommand.
write_enable = YES
#
# Defaultumaskforlocalusersis077.Youmaywishtochangethisto022,
# ifyourusersexpectthat (022isusedbymostotherftpd's)
local_umask = 022
#
# UncommentthistoallowtheanonymousFTPusertouploadfiles.Thisonly
# hasaneffectiftheaboveglobalwriteenableisactivated.Also, youwill
# obviouslyneedtocreateadirectorywritablebytheFTPuser.
anon_upload_enable = NO
#
# UncommentthisifyouwanttheanonymousFTPusertobeabletocreate
# newdirectories.
anon_mkdir_write_enable = NO
#
# Activatedirectorymessages-messagesgiventoremoteuserswhenthey
# gointoacertaindirectory.
dirmessage_enable = YES
#
# Activateloggingofuploads / downloads.
xferlog_enable = YES
#
# MakesurePORTtransferconnectionsoriginatefromport20 (ftp-data).
connect_from_port_20 = YES
#
# Ifyouwant, youcanarrangeforuploadedanonymousfilestobeownedby
# adifferentuser.Note! Using "root" foruploadedfilesisnot
# recommended!
# chown_uploads = YES
# chown_username = whoever
#
# Youmayoverridewherethelogfilegoesifyoulike.Thedefaultisshown
# below.
# xferlog_file = / var / log / vsftpd.log
#
# Ifyouwant, youcanhaveyourlogfileinstandardftpdxferlogformat
# xferlog_std_format = YES
#
# Youmaychangethedefaultvaluefortimingoutanidlesession.
# idle_session_timeout = 600
#
# Youmaychangethedefaultvaluefortimingoutadataconnection.
# data_connection_timeout = 120
#
# Itisrecommendedthatyoudefineonyoursystemauniqueuserwhichthe
# ftpservercanuseasatotallyisolatedandunprivilegeduser.
# nopriv_user = ftpsecure
#
# EnablethisandtheserverwillrecogniseasynchronousABORrequests.Not
# recommendedf



