diff options
author | Gavin Romig-Koch <gavin@localhost.localdomain> | 2009-08-29 11:21:18 -0400 |
---|---|---|
committer | Gavin Romig-Koch <gavin@localhost.localdomain> | 2009-08-29 11:21:18 -0400 |
commit | f8b7f783c5dfc061888640ce254615274bb8975e (patch) | |
tree | 1edb12e25405e847f28171537ed14a14f577af34 /fastback-setup-server-anonftp | |
parent | f3faac1ef273ae544e37fdfac0211f46f77a47fa (diff) | |
download | fastback-f8b7f783c5dfc061888640ce254615274bb8975e.tar.gz fastback-f8b7f783c5dfc061888640ce254615274bb8975e.tar.xz fastback-f8b7f783c5dfc061888640ce254615274bb8975e.zip |
doc cleanups (INSTALL, README, setup-fastback-server -> fastback-setup-server-anonftp)
Diffstat (limited to 'fastback-setup-server-anonftp')
-rwxr-xr-x | fastback-setup-server-anonftp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/fastback-setup-server-anonftp b/fastback-setup-server-anonftp new file mode 100755 index 0000000..1b36dc1 --- /dev/null +++ b/fastback-setup-server-anonftp @@ -0,0 +1,40 @@ +# run this as root on the machine you want to setup as your +# test FTP anonymous server + +yum install -y vsftpd +mkdir -p /var/ftp/incoming +chown ftp:ftp /var/ftp/incoming +patch -p0 <<\EOF +--- /etc/vsftpd/vsftpd.conf 2009-06-02 05:25:07.000000000 -0400 ++++ vsftpd.conf 2009-08-18 09:06:36.000000000 -0400 +@@ -15,7 +15,7 @@ + #local_enable=YES + # + # Uncomment this to enable any form of FTP write command. +-#write_enable=YES ++write_enable=YES + # + # Default umask for local users is 077. You may wish to change this to 022, + # if your users expect that (022 is used by most other ftpd's) +@@ -24,7 +24,7 @@ + # Uncomment this to allow the anonymous FTP user to upload files. This only + # has an effect if the above global write enable is activated. Also, you will + # obviously need to create a directory writable by the FTP user. +-#anon_upload_enable=YES ++anon_upload_enable=YES + # + # Uncomment this if you want the anonymous FTP user to be able to create + # new directories. +@@ -115,3 +115,9 @@ + pam_service_name=vsftpd + userlist_enable=YES + tcp_wrappers=YES ++ ++# ++# taken from DropboxDocument ++dirlist_enable=NO ++download_enable=NO ++dirmessage_enable=YES +EOF + +service vsftpd restart |