# Allow anonymous FTP? (beware-allowed by default if your comment this.)
Anonymous_enable=no
#
# Uncomment this to allow the local users to log in.
Local_enable=yes
#
# Uncomment this to enable the any form of the FTP write command.
Write_enable=yes
#
# Default Umask for Local users are 077. You are wish to the change this to 022,
# If your users expect that (022 are used by most other ftpd ' s)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This is only
# has an effect if the above global write-enable is activated. Also, you'll
# obviously need to create a directory writable by the FTP user.
Anon_upload_enable=no
#
# Uncomment this if your want the anonymous FTP user to is able to create
# New directories.
Anon_mkdir_write_enable=no
#
# Activate Directory messages-messages given to remote users when they
# go into a certain directory.
Dirmessage_enable=yes
#
# Activate logging of Uploads/downloads.
Xferlog_enable=yes
#
# Make sure port transfer connections originate from port (ftp-data).
Connect_from_port_20=yes
#
# If You are want, can arrange for uploaded anonymous files to is owned by
# a different user. note! Using ' root ' for uploaded the files are not
# recommended!
#chown_uploads =yes
#chown_username =whoever
#
# You'll override where the log file goes if you like. The default is shown
# below.
#xferlog_file =/var/log/vsftpd.log
#
# If You are want, can have your log file in standard FTPD xferlog format
#xferlog_std_format =yes
#
# You'll change the default value for timing out a idle session.
#idle_session_timeout =600
#
# You could change the default value of timing out a data connection.
#data_connection_timeout =120
#
# It is recommended ' Define on your system a unique user which the
# FTP server can use as a totally isolated and unprivileged user.
#nopriv_user =ftpsecure
#
# Enable This and the server would recognise asynchronous Abor requests. Not
# Recommended for security (the ' Code is non-trivial '). Not enabling it,
# However, may confuse older FTP clients.
#async_abor_enable =yes
#
# By default the server'll pretend to allow ASCII mode but in fact ignore
# the request. Turn on the "below options to have" server actually do ASCII
# mangling on files as in ASCII mode.
# beware that turning on ascii_download_enable enables malicious remote parties
# to consume your I/O, by issuing the command ' Size/big/file ' in
# ASCII mode.
# These ASCII options are split into upload and download because your may wish
# to enable the ASCII uploads (to prevent uploaded scripts etc.. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway.
Ascii_upload_enable=yes
Ascii_download_enable=yes
#
# Your may fully customise the login banner string:
Ftpd_banner=welcome to Serv-u FTP serser. # (A real Lie: em02:)
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# Useful for combatting certain DoS attacks.
#deny_email_enable =yes
# (default follows)
#banned_email_file =/etc/vsftpd.banned_emails
#
# You may specify a explicit list of local users to Chroot () to their home
# directory. If Chroot_local_user is YES, then this list becomes a list of
# users to not Chroot ().
Chroot_list_enable=yes
# (default follows)
Chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-r" option to the builtin LS. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# The presence of the "-r" option, so there are a strong case for enabling it.
#ls_recurse_enable =yes
Chroot_local_user=yes
listen_port=2121
Listen=yes
Guest_enable=yes
Guest_username=virtual
pasv_min_port=30000
pasv_max_port=30999
Pam_service_name=ftp.vu
Anon_world_readable_only=no
user_config_dir=/etc/vsftpd_user_conf [/quote:93f3c4a2db]
2. The content of my/etc/vsftpd_user_conf/download
[QUOTE:93F3C4A2DB]ANON_WORLD_READABLE_ONLY=NO[/QUOTE:93F3C4A2DB]
3. The content of my/etc/vsftpd_user_conf/upload
[Quote:93f3c4a2db]anon_world_readable_only=no
Write_enable=yes
Anon_upload_enable=yes
ANON_MKDIR_WRITE_ENABLE=YES[/QUOTE:93F3C4A2DB]
4. The content of my/etc/vsftpd_user_conf/admin
[Quote:93f3c4a2db]anon_world_readable_only=no
Write_enable=yes
Anon_upload_enable=yes
Anon_other_write_enable=yes
ANON_MKDIR_WRITE_ENABLE=YES[/QUOTE:93F3C4A2DB]
5. Self-starter script, add/usr/local/sbin/vsftpd/etc/vsftpd.conf & in/etc/rc.local