Chinaunix

标题: 问2个问题 [打印本页]

作者: tywtyw2002    时间: 2009-04-19 20:00
标题: 问2个问题
1,anon_world_readable_only 什么意思
2,怎么才能取消一个用户的LS权限?(就是看不见文件 有路径的话可以下载 可以上传)
作者: diyself    时间: 2009-04-19 20:48
http://vsftpd.beasts.org/vsftpd_conf.html 中搜索anon_world_readable_only得到:

  1. anon_world_readable_only
  2.     When enabled, anonymous users will only be allowed to download files which are world readable. This is recognising that the ftp user may own files, especially in the presence of uploads.

  3.     Default: YES
复制代码

[ 本帖最后由 diyself 于 2009-4-20 10:11 编辑 ]
作者: diyself    时间: 2009-04-19 20:50
http://vsftpd.beasts.org/vsftpd_conf.html 中搜索cmds_allowed得到:

cmds_allowed
    This options specifies a comma separated list of allowed FTP commands (post login. USER, PASS and QUIT are always allowed pre-login). Other commands are rejected. This is a powerful method of really locking down an FTP server. Example: cmds_allowed=PASV,RETR,QUIT

    Default: (none)
作者: diyself    时间: 2009-04-19 20:53
在google中搜索cmds_allowed,第一条连接:http://www.sb123.org/642


  1. cmds_allowed=ABOR,CWD,LIST,MDTM,MKD,NLST,
  2. PASS,PASV,PORT,PWD,QUIT,RETR,RMD,RNFR,
  3. RNTO,SITE,SIZE,STOR,TYPE,USER,ACCT,
  4. APPE,CDUP,HELP,MODE,NOOP,REIN,STAT,STOU,STRU,SYST
  5. # ABOR - abort a file transfer
  6. # CWD - change working directory
  7. # DELE - delete a remote file
  8. # LIST - list remote files
  9. # MDTM - return the modification time of a file
  10. # MKD - make a remote directory
  11. # NLST - name list of remote directory

  12. .....


复制代码

[ 本帖最后由 diyself 于 2009-4-19 20:54 编辑 ]




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2