3.13匿名用户测试
[root@mail ftp]# cp -p f3 /mnt/ftp/public/
[root@mail ftp]# ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (127.0.0.1:root): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir
227 Entering Passive Mode (127,0,0,1,109,39)
150 Here comes the directory listing.
-rw-r--r-- 1 0 0 0 Aug 11 14:55 f1
-rw-r--r-- 1 0 0 0 Aug 11 14:55 f2
-rw-r--r-- 1 0 0 5242880 Aug 11 15:13 f3
226 Directory send OK.
ftp> get f3
local: f3 remote: f3
227 Entering Passive Mode (127,0,0,1,26,82)
150 Opening BINARY mode data connection for f3 (5242880 bytes).
226 File send OK.
5242880 bytes received in 52 seconds (99 Kbytes/s)
ftp>
3.14 用户连接数测试
3.15 超级守护进程
通过守护进程限制访问ftp的时间
[root@mail ~]# vim /etc/vsftpd/vsftpd.conf
109 listen=NO
[root@mail ~]# cd /etc/xinetd.d/
[root@mail xinetd.d]# cp /usr/share/doc/vsftpd-2.0.5/vsftpd.xinetd vsftpd
[root@mail xinetd.d]# vim vsftpd
[root@mail xinetd.d]# date
2012年 09月 20日 星期四 19:18:56 CST
[root@mail xinetd.d]# date 092023002012
2012年 09月 20日 星期四 23:00:00 CST