Connected to 10.1.248.135.
220 aisms FTP server ready.
Name (10.1.248.135:root): oracle
331 Password required for oracle.
Password:
230 User oracle logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> help
Commands may be abbreviated. Commands are:
! cr mdir protect safe
$ delete mechanism proxy send
account debug mget put sendport
append dir mkdir pwd site
ascii disconnect mls quit status
bell form mode quote struct
binary get mput recv sunique
bye glob nlist reget tcpwindow
case hash nmap remotehelp tenex
ccc help ntrans rename trace
cd lcd open reset type
cdup ls passive restart user
clear macdef private rmdir verbose
close mdelete prompt runique ?
ftp> quote help
214-The following commands are recognized (* =>'s unimplemented).
USER PASV MODE MSOM* RNTO SITE RMD SIZE
PASS EPRT RETR MSAM* ABOR SYST XRMD MDTM
ACCT* EPSV STOR MRSQ* DELE STAT PWD PROT
SMNT* LPRT APPE MRCP* CWD HELP XPWD PBSZ
REIN* LPSV MLFL* ALLO XCWD NOOP CDUP AUTH
QUIT TYPE MAIL* REST LIST MKD XCUP ADAT
PORT STRU MSND* RNFR NLST XMKD STOU CCC
214 Direct comments to ftp-bugs@aisms.
ftp>ftp> quote stat
211-root FTP server status:
Version wu-2.6.2+Sun
Connected to aisms (10.1.248.135)
Logged in as oracle
TYPE: Image; STRUcture: File; transfer MODE: Stream
No data connection
0 data bytes received in 0 files
0 data bytes transmitted in 0 files
0 data bytes total in 0 files
63 traffic bytes received in 0 transfers
1103 traffic bytes transmitted in 0 transfers
1216 traffic bytes total in 0 transfers
211 End of status
ftp>
2)内容
[root@root]:/etc/ftpd#ls -lh
total 14
-rw-r--r-- 1 root sys 1.5K 1?.22 2005 ftpaccess
-rw-r--r-- 1 root sys 946 1?.22 2005 ftpconversions
-rw-r--r-- 1 root sys 104 1?.22 2005 ftpgroups
-rw-r--r-- 1 root sys 108 1?.22 2005 ftphosts
-rw-r--r-- 1 root sys 114 1?.22 2005 ftpservers
-rw-r--r-- 1 root sys 199 11?.17 02:34 ftpusers
[root@root]:/etc/ftpd#
# ident "@(#)ftpaccess 1.2 03/05/14 SMI"
#
# FTP server configuration file, see ftpaccess(4).
#
class realusers real *
class guestusers guest *
class anonusers anonymous *
loginfails 3
passwd-check trivial warn
private no
shutdown /etc/ftpd/shutdown.msg
# email user@hostname
# guestuser username
# rhostlookup no
keepalive yes
recvbuf 65536 real,guest,anonymous
sendbuf 65536 real,guest,anonymous
# flush-wait no anonymous
# passive ports 0.0.0.0/0 32768 65535
# timeout data 600
# timeout idle 300
banner /etc/ftpd/banner.msg
greeting brief
message /etc/ftpd/welcome.msg login
message .message cwd=*
readme README* login
readme README* cwd=*
# quota-info *
chmod no anonymous
delete no anonymous
overwrite no anonymous
rename no anonymous
umask no anonymous
compress yes realusers guestusers anonusers
tar yes realusers guestusers anonusers
path-filter guest,anonymous /etc/ftpd/filename.msg ^[[:alnum:]._-]*$ ^[.-]
noretrieve relative class=anonusers /
allow-retrieve relative class=anonusers /pub
upload class=anonusers * * no nodirs
# upload class=anonusers * /incoming yes ftpadm ftpadm 0440 nodirs
# log commands real,guest,anonymous
# log security real,guest,anonymous
# log transfers real,guest,anonymous inbound,outbound
# xferlog format %T %Xt %R %Xn %XP %Xy %Xf %Xd %Xm %U ftp %Xa %u %Xc %Xs %Xr
# limit-time anonymous 30
# limit anonusers 10 Wk0730-1800 /etc/ftpd/toomany.msg
# limit anonusers 50 SaSu|Any1800-0730 /etc/ftpd/toomany.msg
[root@aisms]:/etc/ftpd#pwd
/etc/ftpd
[root@aisms]:/etc/ftpd#ls
ftpaccess ftpconversions ftpgroups ftphosts ftpservers ftpusers