# yum install proftpd
To add Virtual Users:
#vi /etc/proftpd.conf
Disable Anonymous User Login:
common out all #
#
# User ftp
# Group ftp
# UserAlias anonymous ftp
# MaxClients 10
# DisplayLogin welcome.msg
# DisplayChdir .message
#
# DenyAll
#
#
AuthOrder mod_auth_file.c
AuthUserFile /etc/proftpd/ftpd.passwd
AuthGroupFile /path/to/ftpd.group
http://www.proftpd.org/docs/howto/VirtualUsers.html
http://www.proftpd.org/docs/directives/linked/config_ref_AuthOrder.html
Then add Virtual User:
wget http://www.castaglia.org/proftpd/contrib/ftpasswd /root/ftpasswd
/root/ftpasswd --name=mds --uid=500 --gid=503 --passwd --home=/home/mds/storage --file=/etc/proftpd/ftpd.passwd --shell=/sbin/nologin
/root/ftpasswd --name=mds --group --gid=503 --file=/etc/proftpd/ftpd.group
Start the service:
# service proftpd stop
# chkconfig proftpd on