linux ftp open不了,linux打开ftp功能的方法(Methods Linux open FTP function).doc

linux打开ftp功能的方法(Methods Linux open FTP function)

linux打开ftp功能的方法(Methods Linux open FTP function)

You can install the VSFTP server of its own, very good use, the specific configuration is as follows:

A basic

The 1. configuration files in /etc/vsftpd/vsftpd.conf

/etc/vsftpd.ftpusers

/etc/vsftpd.user_list

2. background process: vsftpd

3. The use of 21. 20 port

21 for control, 20 for data transmission

4. Journal:

/var/log/vsftpd.log xferlog

Only record data

5. The ftpcount ftpwho tool, little effect.

Two, configuration parameters

1. Allow anonymous login

# Allow anonymous FTP?

Anonymous_enable=no

2. Login timeout control

May change the default # You value for timing out an idle session.

Idle_session_timeout=600

3. Data transmission timeout control

May change the default # You value for timing out a data connection.

#data_connection_timeout=120

4. Custom welcome message

You may fully customise the login # banner string:

Ftpd_banner=Welcome to youhongyu FTP service.

Three, access control key configuration method

1. Modify the vsftpd.conf (* * * * chroot****)

Chroot_list_enable=YES

Chroot_list_file=/etc/vsftpd.chroot_list (if not, you need to create)

/etc/vsftpd.chroot_list user is not a chroot user, the user only in their own directory (/home)

2. The access control of user files

/etc/vsftpd.ftpusers

All in the file users are unable to access the ftp,

But to introduce the following is different when you visit, but not at 530 Permission denied. at 530 Login incorrect.

3. The access control of user files (note the need vsftpd.conf configuration to fit)

/etc/vsftpd.user_list

Remember: to make this file function userlist_enable=yes must be configured otherwise ineffective (default is open)

So when userlist_enable=yes, userlist_deny=yes (/etc/vsftpd.user_list in the need to manually add) users can not access FTP

When userlist_enable=yes, userlist_deny=no (the need to manually add) is only /etc/vsftpd.user_list users can access FTP

2, and 3 if it comes to the same user to or the principle of application, as long as there is a

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值