In this part of exercise we will make area where anonymous can upload their files. You should make directory with right permissions. In this case I will make that in /var/ftp directory.

[root@security1 ftp]# mkdir /var/ftp/incoming
[root@security1 ftp]# chmod 773 /var/ftp/incoming/
[root@security1 ftp]# chcon --reference /var/ftp/pub/ /var/ftp/incoming/SElinux stuff
[root@security1 ftp]# chown root:daemon /var/ftp/incoming/
[root@security1 ~]# setsebool allow_ftpd_anon_write on Always look for SElinux, it can make a mess :)
[root@security1 ~]# setsebool -P ftp_home_dir 1

OK now you are finished with basic things, as permissions and selinux type, also and ownership. Change file /etc/vsftpd/vsftpd.conf and add next:

anonymous_enable=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
chown_uploads=YES
chown_username=root don't use this!
anon_umask=077

man vsftpd.conf is your friend :) After this you can start your ftp session and upload data on system

[root@security2 student]# lftp 192.168.0.120