Aliyun Linux install vsftpd

yum install vsftpd

vi /etc/vsfptd/vsftpd.conf

anonymous_enable=NO
chroot_local_user=YES
pasv_enable=Yes
pasv_max_port=20100
pasv_min_port=20090

vi /etc/vsfptd/ftpusers, /etc/vsftpd/user_list, remove root user.

# Users that are not allowed to login via ftp
#root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody

service vsftpd restart

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s