xxx¿ÉÒÔÈ¡ÏÂÃæµÄÖµ£º
gen : ͨÓÃmake(µ±ÒÆÖ²µ½ÐĵÃϵͳʱÐèÒª¿½±´Ëü)
aix : IBM AIX
aux : AU/X
bdi : BSD/OS
bsd : BSD
dec : DEC Unix 3.X
du4 : DEC Unix 4.X or later
dyn : Dynix
fbs : FreeBSD 1.0 or later
hiu : Hitachi Unix
hpx : HP-UX
lnx : Linux (tested on 1.0.30)
nbs : NetBSD 1.X
nx2 : NeXTstep 1.x
nx3 : NeXTstep 3.x
osf : OSF/1
osx : Mac OS X
ptx : ???
sco : SCO Unix 3.2v4.2/SCO OpenServer 5
sgi : SGI Irix 4.0.5a
sny : Sony NewsOS
sol : SunOS 5.x / Solaris 1.x
s41 : SunOS 4.1.x
ult : Ultrix 4.x
uxw : UnixWare 1.1 or later
clean : Clean up object files and such to reduce disk space after building.
install: Install ftpd
1.4.1 /etc/ftpaccessµÄÉèÖÃ
Õâ¸öÅäÖÃÎļþÊÇFTP·þÎñÆ÷×îÖØÒªµÄÅäÖÃÎļþ£¬Õâ¸öÎļþµÄÉèÖþö¶¨ÁËFTPÊÇ·ñ¿ÉÒÔÕý³£¹¤×÷¼°Ðí¶à·ÃÎÊȨÏÞµÄÉèÖá£ÈçÏÂÃæµÄÀý×ÓËùʾ£º
class all real,guest,anonymous *
limit all 10 Any /etc/msgs/msg.dead
readme README* login
readme README* cwd=*
message /welcome.msg login
message .message cwd=*
compress yes all
tar yes all
log commands real
log transfers anonymous,real inbound,outbound
ָʾ£ºprivate
µ±Ò»¸öÓû§µÇ¼½øÈ룬£¬Ö¸Ê¾SITE GROUPºÍ and SITE GPASSÓÃÀ´Ö¸¶¨Ò»¸öÔöÇ¿µÄ·ÃÎÊ×éºÍÏàÓ¦µÄÃÜÂë¡£ÈôÊäÈëµÄ×éÃûºÍÃÜÂëÓÐЧµÄ»°£¬¸ÃÓû§½«±äΪ¸Ã×éµÄ³ÉÔ±£¬¾ßÓиÃ×éµÄ·ÃÎÊȨÏÞ¡£
ָʾ£ºgreeting full|brief|terse
greeting text
ÔÊÐí¿ØÖÆÔÚÔ¶³ÌÓû§µÇ½½øÀ´ÒԺ󣬸øÓû§¶àÉÙgreetÐÅÏ¢¼°ÐÅÏ¢ÄÚÈÝ¡£
# Example host access file
#
# Everything after a '#' is treated as comment,
# empty lines are ignored
#allow [ ...]
# Only allow host(s) matching to log in as .
#deny [ ...]
# Always deny host(s) matching to log in as .
allow ideal *.linuxaid.com.cn 10.0.0.0/8
deny fred *.hacker.com 131.211.31.0/24
[root@linux doc]# ftpcount
Service class friend - 0 users (no maximum)
Service class local - 0 users (no maximum)
Service class outworld - 0 users (no maximum)
ÕâÀïÕýÔÚÁ¬½ÓµÄÊôÓÚlocalµÄÓÐ0¸öÈË£¬Ã»ÓÐÉÏÏÞ¡£ÆäËû¼¸¸öÀà±ðº¬ÒåÒ»Ñù¡£
[root@linux doc]# ftpwho
Service class friend:
- 0 users (no maximum)
Service class local:
- 0 users (no maximum)
Service class local:
- 0 users (no maximum)
µ±Ç°Èý¸öÀà±ð¶¼Ã»ÓÐÓû§Á¬½Ó¡£