[root@localhost ~]# vi /etc/vsftpd/user_list
# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
#do not even prompt for a password.
# Note that the default vsftpd pam config also checks/etc/vsftpd/ftpusers
#for users that are denied.
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
cent
[root@localhost ~]# mkdir /var/public_root
[root@localhost~]# chown -R cent /var/public_root
[root@localhost~]# chmod -R 755 /var/public_root [root@localhost~]# service vsftpd start
Starting vsftpdfor vsftpd: [ OK ]
[root@localhost var]# chkconfig vsftpd on
Ubuntu实用简单的FTP架设
Ubuntu 13.04 安装 LAMP\vsftpd\Webmin\phpMyAdmin 服务及设置